GeneralHelp define LaTeX=>DVI=>PDF output profile in TeXnicCenter

General information and discussion about TeXnicCenter
samson
Posts: 6
Joined: Sat Apr 10, 2010 4:43 am

Help define LaTeX=>DVI=>PDF output profile in TeXnicCenter

Post by samson »

Hi, my TeXnic Center crashed for unknown reasons! Can anyone send me the information required to define the following Output Profiles in TeXnic Center;
  1. LaTeX=>DVI
  2. LaTeX=>DVI=>PDF
  3. LaTeX=>PS=>PDF
Below is the error log:
thesis.log
(10.01 KiB) Downloaded 628 times
Thank you for your urgent help.

Esuene Samson

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
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Help define LaTeX=>DVI=>PDF output profile in TeXnicCenter

Post by localghost »

Complete files (log) files shall be uploaded as attachment to the forum server. Embedding them messes a post up.

Just start TeXnicCenter (TXC), press Alt+F7 and start the wizard as seen in the attachment. You only have to enter the path where the MiKTeX executables are located. With all necessary software installed, you will get the three output profiles.

If this solves your problem, mark the topic as solved by editing your initial post and choosing the green checkmark from the icon list.


Best regards and welcome to the board
Thorsten
Attachments
The TeXnicCenter »Profiles« dialog window.
The TeXnicCenter »Profiles« dialog window.
TXCwizard.png (18.91 KiB) Viewed 15914 times
samson
Posts: 6
Joined: Sat Apr 10, 2010 4:43 am

Re: Help define LaTeX=>DVI=>PDF output profile in TeXnicCent

Post by samson »

Hi Thorsten,
Thanks for your prompt response. I have already used the wizard twice but the problem persists, with the attached error log.

Thank you for your help.

Esuene.
Attachments
thesis.log
(11.1 KiB) Downloaded 537 times
Last edited by samson on Sat Apr 10, 2010 2:17 pm, edited 1 time in total.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Help define LaTeX=>DVI=>PDF output profile in TeXnicCenter

Post by localghost »

Provide a minimal working example (MWE) that exactly reproduces the misbehaviour. Add the \listfiles command as very first line so that you get a list of used files in the log.

If you really want a profile that compiles via DVI to PDF, you will have to create it by yourself. At the moment I'm not running Windows so can't be of help.
samson
Posts: 6
Joined: Sat Apr 10, 2010 4:43 am

Re: Help define LaTeX=>DVI=>PDF output profile in TeXnicCent

Post by samson »

Okay, thanks
Izmi
Posts: 28
Joined: Thu Feb 26, 2009 6:14 pm

Help define LaTeX=>DVI=>PDF output profile in TeXnicCenter

Post by Izmi »

Hi samson,

The log indicates that there is a problem to write to the file "thesis.dvi":

Code: Select all

! I can't write on file `thesis.dvi'.
Please type another file name for output
! Emergency stop.
<to be read again> 
                   \endgroup \set@typeset@protect 
l.32 \newpage
             
*** (job aborted, file error in nonstop mode)
So, have you made sure that
(i) you have write permissions in the directory and
(ii) the file "thesis.dvi" is not opened in a DVI-viewer?
samson
Posts: 6
Joined: Sat Apr 10, 2010 4:43 am

Help define LaTeX=>DVI=>PDF output profile in TeXnicCenter

Post by samson »

Hi Izmi,

Yes, I have write permissions in the present working directory, especially, as it is on my laptop. Also, I've used the software for a couple of weeks before it crashed and I then went for a re-installation.

No, the file "thesis.dvi" is not open in a DVI-viewer, either. I am pretty much convinced that the problem is with redefining Output profiles for both LaTeX=>DVI and LaTeX=>DVI=>PDF outputs.

I will appreciate it if you can send me a text or image file containing the DDE commands for the Viewers.

Thank you.

Esuene.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Help define LaTeX=>DVI=>PDF output profile in TeXnicCenter

Post by localghost »

I suggest to make a copy of the profile »LaTeX => PS«, rename it accordingly and use dvipdfm(x) instead of dvips in the post-processor tab. But it's not recommendable to produce PDF this way.
samson
Posts: 6
Joined: Sat Apr 10, 2010 4:43 am

Re: Help define LaTeX=>DVI=>PDF output profile in TeXnicCent

Post by samson »

Hi Localghost,

Could you, please, share the reason for not recommending the production of PDF through the dvipdfm(x) route?

Thanks.

Esuene
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Help define LaTeX=>DVI=>PDF output profile in TeXnicCenter

Post by localghost »

samson wrote:[...] Could you, please, share the reason for not recommending the production of PDF through the dvipdfm(x) route? [...]
In opposite to the route »LaTeX → DVI → PS → PDF« the process with dvipdfm(x) is not reliable because it does not always work.
Post Reply