Generalfew doubts regarding usuage of texnicCenter

General information and discussion about TeXnicCenter
Post Reply
nikhil_bhargava
Posts: 2
Joined: Tue Jan 30, 2007 11:44 am

few doubts regarding usuage of texnicCenter

Post by nikhil_bhargava »

hi,

I have recently switched from winedt to texnicCenter editor on my windows machine. I have few doubts regarding it.

1. In winedt if there is an option by which ifa mikitex package is missing, it wil automatically download it and then compile the file. Is there such a feature in texnicCenter.
2. In winedt, I compiled the docuemt containg eps images as latex->dvi->pdf, but in texnicCenter, there is no such thing. How to generate the pdf for docs containing eps images.

Some one using it may clear my doubts,

bye,

nikhil

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Kris
Posts: 56
Joined: Sun Jan 14, 2007 4:04 pm

Re: few doubts regarding usuage of texnicCenter

Post by Kris »

Hi!

1) this is a feature of MiKTeX and not of WinEdt or TexnicCenter! You have to switch it on in the MiKTeX settings...

2) This is called "LATEX => PS => PDF" output profile in TexnicCenter! You find it in the drop-down menu next to
the compiling buttons...if not, please press ALT+F7 and start the setup [Assistant...] in the bottom left corner!

Regards,
Kris
tramir
Posts: 12
Joined: Fri Jan 26, 2007 12:58 am

few doubts regarding usuage of texnicCenter

Post by tramir »

(1) In "MikTex Options", in the General tab, you have the Package installation section, where you can choose what you want Miktex to do if a package is needed (I have it set to "Ask me first", for example).

(2) You can always create this build profile yourself. In TexnicCenter, go to Build-Define output profile (or ALT-F7), and press on Add. Give a name to the profile (for example, LaTeX => DVI => PDF), and then start filling out the parameters:
  • Run latex in this profile = checked
  • path to latex compiler = browse to your miktex\miktex\bin folder and choose latex.exe (or texify, if you know how to pass options to texify)
  • command line arguments to pass to compiler = --src -max-print-line=120 "%Wm"
  • Bibtex and makeindex = check them if you use bibtex or makeindex
Now change to the Postprocessor tab and add the command that makes PDF's from DVI's. Click on the "add" button (it looks like a dotted square and is above the list):
  • fill in a name (for example, DVI=> PDF)
  • executable: browse to the miktex\miktex\bin folder and choose dvipdfm.exe
  • arguments: "%Bm.dvi"
Finally, go to the viewer tab:
  • path of executable: find where your Adobe Reader or FoxIt Reader are (for example, Adobe 8 is usually in Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe)
  • view project output: DDE command, and paste there: [DocOpen("%bm.pdf")][DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] (or, if you have Adobe Reader 7, without the first DocOpen part), server: acroview, topic: control
  • forward search: DDE command, and paste there: [DocOpen("%bm.pdf")][DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] (or, if you have Adobe Reader 7, without the first DocOpen part), server: acroview, topic: control
  • close document before latex: DDE command, and paste there: [DocClose("%bm.pdf")], server: acroview, topic: control
Now you should have a new profile that makes a DVI, then converts the DVI to a PDF. And if you do everything listed above, it should even work!

Mircea
Last edited by tramir on Tue Jan 30, 2007 6:23 pm, edited 1 time in total.
nikhil_bhargava
Posts: 2
Joined: Tue Jan 30, 2007 11:44 am

Re: few doubts regarding usuage of texnicCenter

Post by nikhil_bhargava »

Thanks for the information. I will try to configure it.

bye,

nikhil
User avatar
jlbfunes
Posts: 10
Joined: Wed May 21, 2008 10:35 pm

few doubts regarding usuage of texnicCenter

Post by jlbfunes »

Great. These instructions seem to be a nice solution. Thanks guys.
tramir wrote:(1) In "MikTex Options", in the General tab, you have the Package installation section, where you can choose what you want Miktex to do if a package is needed (I have it set to "Ask me first", for example).

(2) You can always create this build profile yourself. In TexnicCenter, go to Build-Define output profile (or ALT-F7), and press on Add. Give a name to the profile (for example, LaTeX => DVI => PDF), and then start filling out the parameters:
  • Run latex in this profile = checked
  • path to latex compiler = browse to your miktex\miktex\bin folder and choose latex.exe (or texify, if you know how to pass options to texify)
  • command line arguments to pass to compiler = --src -max-print-line=120 "%Wm"
  • Bibtex and makeindex = check them if you use bibtex or makeindex
Now change to the Postprocessor tab and add the command that makes PDF's from DVI's. Click on the "add" button (it looks like a dotted square and is above the list):
  • fill in a name (for example, DVI=> PDF)
  • executable: browse to the miktex\miktex\bin folder and choose dvipdfm.exe
  • arguments: "%Bm.dvi"
Finally, go to the viewer tab:
  • path of executable: find where your Adobe Reader or FoxIt Reader are (for example, Adobe 8 is usually in Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe)
  • view project output: DDE command, and paste there: [DocOpen("%bm.pdf")][DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] (or, if you have Adobe Reader 7, without the first DocOpen part), server: acroview, topic: control
  • forward search: DDE command, and paste there: [DocOpen("%bm.pdf")][DocOpen("%bm.pdf")][FileOpen("%bm.pdf")] (or, if you have Adobe Reader 7, without the first DocOpen part), server: acroview, topic: control
  • close document before latex: DDE command, and paste there: [DocClose("%bm.pdf")], server: acroview, topic: control
Now you should have a new profile that makes a DVI, then converts the DVI to a PDF. And if you do everything listed above, it should even work!

Mircea
Last edited by jlbfunes on Wed May 21, 2008 10:39 pm, edited 1 time in total.
I use TeXnicCenter 1 Beta 7.01. MikTeX 2.7 on Windows Vista Home Edition (I will be switching to Linux soon, I swear).
kabak
Posts: 3
Joined: Sun Apr 17, 2011 1:01 pm

few doubts regarding usuage of texnicCenter

Post by kabak »

This is a pretty old topic so I guess no-one still looks at this... But if you do, I started a new topic about some problems at the subject here: http://www.latex-community.org/forum/vi ... 45&t=12807
Post Reply