Discussion:
dvi with eps to pdf
Paulina
2007-02-22 19:19:41 UTC
Permalink
How to define an output profile that converts dvi files (with eps
pictures inside) to pdfs?
The way I do it now:
dvips.exe -Ppdf myfile.dvi
ps2pdf.exe myfile.ps
Can TeXnicCenter do it for me? :)


Paulina



------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Yannick
2007-02-27 08:11:36 UTC
Permalink
Post by Paulina
How to define an output profile that converts dvi files (with eps
pictures inside) to pdfs?
dvips.exe -Ppdf myfile.dvi
ps2pdf.exe myfile.ps
Can TeXnicCenter do it for me? :)
Paulina
There is a profile called
LaTeX=>PS=>PDF
I use the DVI Profile only while I'm writing the file. For the final
output you can use the Profile above.


------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Paulina
2007-02-27 20:42:47 UTC
Permalink
Post by Yannick
There is a profile called
LaTeX=>PS=>PDF
I don't have that profile. Will ps work well with eps files?



------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Rüdiger Stuible
2007-02-27 20:53:28 UTC
Permalink
Post by Paulina
I don't have that profile. Will ps work well with eps files?
Dear Paulina,

why don't you simply _try_? Be assured nothing will explode ;o)
--
Rüdiger Stuible
rstu-***@public.gmane.org



------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Yannick
2007-02-27 21:15:21 UTC
Permalink
Post by Paulina
Post by Yannick
There is a profile called
LaTeX=>PS=>PDF
I don't have that profile. Will ps work well with eps files?
__._,_
Yes, it WILL work. By the way eps means encapsulat postscript :)


------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Paulina
2007-02-28 16:41:20 UTC
Permalink
Thank you for your help. My question was: HOW to create a profile
(one or the other) that will make a pdf with eps. Advice on how to
use a pc software are not exactly what I was hoping to get in this
group.



------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
John Trapp
2007-02-28 17:47:18 UTC
Permalink
Paulina,

The build profile is really a collection of DOS commands that are executed
whenever the compile and/or view commands in TXC are chosen.

There is a program called ps2pdf14.bat that, in the TeXLive2005
distribution, resides in the folder C:\texlive2005\xemtex\gslib. This
program converts a ps file into a pdf file. It is not in my path, so I
have created a small batch file that I have placed in the folder
C:\texlive2005\bin\win32, which is in my path; actually it is quite easy
to change the registry setting to include that folder in the path, but
this method illustrates the versatility of the TXC build profile.

The batch file is called ps2pdfmake.bat and goes like this:

@rem Add GhostScript paths to your Path variable:
@set Path=%Path%;C:\texlive2005\xemtex\gslib
@set GS_OPTIONS=-sPAPERSIZE=a4

@if "%1"=="" goto end

@echo + + + + + + + + + + + + + + + + + + + + + +
@echo Convert %1.ps to %1.pdf
@echo + + + + + + + + + + + + + + + + + + + + + +
ps2pdf14.bat %1.ps

:end

Now to create the build profile, go to the build profiles by typing
ALT+F7, then create a new profile by copying your existing build profile
for creating a ps file. Now go to the post-processor tab for this new
profile, and add another line after the DVIps line; type in any old tag in
the main white box, and for the executable type
`C:\TeXLive2005\bin\win32\ps2pdfmake.bat' and `%bm' for the argument.

The viewer will be gsview which will show pdf files. If you want Adobe
Reader then you will have to copy the commands from the pdflatex build
profile.

I attach my build profile that can be imported into your system. (You may
have different paths for these executables, and you will have to modify
them accordingly.)

I hope that this helps.

John



------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->


Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/TeXnicCenter-Users/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:TeXnicCenter-Users-digest-***@public.gmane.org
mailto:TeXnicCenter-Users-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
TeXnicCenter-Users-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
arun kumar
2007-03-02 19:53:00 UTC
Permalink
Hi all,
I am a new latex user. Is there anyway I can insert graph which I have in pdf format?
Thanks
Arun






---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.
Yannick
2007-03-04 12:03:14 UTC
Permalink
Post by arun kumar
Hi all,
I am a new latex user. Is there anyway I can insert graph
which I have in pdf format?
Thanks
Arun
Hi Arun,
you can use the following:

<cid:part1.03040201.03040902-***@public.gmane.org>\begin{figure}
\centering
\includegraphics{../test.pdf}
\label{fig:test}
\end{figure}

Really necessary is only the command in the center "\includegraphics".
With this command you can also insert jpg and some other. You need the
package "graphicx" (with x at the end) to use this command. However, if
you want to use graphics frequently in your documents I would recommend
you to use the package "picins" in addition. The documentation is quite
short and easy to understand.
Hope this was helpful,

Yannick









------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
arun kumar
2007-03-04 21:02:11 UTC
Permalink
Thank you very much! I appreciate your help.
Arun
Post by arun kumar
Hi all,
I am a new latex user. Is there anyway I can insert graph
which I have in pdf format?
Thanks
Arun
Hi Arun,
you can use the following:

<cid:part1.03040201.03040902-***@public.gmane.org>\begin{figure}
\centering
\includegraphics{../test.pdf}
\label{fig:test}
\end{figure}

Really necessary is only the command in the center "\includegraphics".
With this command you can also insert jpg and some other. You need the
package "graphicx" (with x at the end) to use this command. However, if
you want to use graphics frequently in your documents I would recommend
you to use the package "picins" in addition. The documentation is quite
short and easy to understand.
Hope this was helpful,

Yannick






---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.
Tino Weinkauf
2007-02-28 17:50:43 UTC
Permalink
Hi Paulina!
Post by Paulina
How to define an output profile that converts dvi files (with eps
pictures inside) to pdfs?
dvips.exe -Ppdf myfile.dvi
ps2pdf.exe myfile.ps
Can TeXnicCenter do it for me? :)
Yes.

Use the "Build | Define Output Profiles..." dialog. Now you have two
options:

1. Is Ghostscript installed on your system? If yes, TXC should find it
with the wizard (bottom-left button in that dialog) and create a "Latex
=> PS => PDF" profile.

2. If TXC does not find Ghostscript, do the following:

a) Copy the "LaTeX => DVI" profile and rename it accordingly.

b) Go to the "Postprocessor" tab in that dialog and create the following
two postprocessors (please adjust the paths to your needs):

Name: DviPs (PDF)
Executable: C:\Programme\texmf\miktex\bin\dvips.exe
Arguments: -P pdf "%Bm.dvi"


Name: Ghostscript (ps2pdf)
Executable: D:\Programme\gstools\gs\gs8.51\bin\gswin32c.exe
Arguments: -sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite
-sOutputFile="%bm.pdf" -c save pop -f "%bm.ps"


You may want to use your "ps2pdf.exe" instead of "gswin32c.exe" for the
second postprocessor.


Hope, I could help you.


Ciao.Tino.
--
Tino Weinkauf
TeXnicCenter Developer

tino-lVbnjaZ0pM2vO24v5p+***@public.gmane.org
www.ToolsCenter.org


------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Polina Minkovski
2007-03-02 04:51:30 UTC
Permalink
Hey,

I'm wondering how I can manipulate table numeration in a TeX document.
With figures you can have subfigures to get 1a 1b 1c instead of 1 2 3....but for tables, they are automatically numbered and I don't know if there exists a 'subtable' package or command?

I need to get Table 1a and 1b (as an example) not Table 1 Table 2.

Any ideas?


Thanks

Polina


---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
John Trapp
2007-03-02 09:07:04 UTC
Permalink
There is a package called `subfloats' that has a `\begin{subtables}
environment' as well as `\begin{subfigures}'; I have never used it though.
See TLC second edition page 321.

John



------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups. See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Arek Kuźniewski
2007-03-02 09:09:31 UTC
Permalink
I don't understand what do you mean by "subtable", becouse sub- mean
that "something" is in another "something" (but both of "something" are
the same type), for example few of \subsection are in \section.

If you use "table" environment to numerate (and describe) tables, you
have the "table" counter to numerate it.
For example if you want to numerate your tables like this:
1a (where 1 is the section number and a is the table number)
you can use:
\renewcommand{\thetable}{\arabic{section}\alph{table}}

In this example 1 can be any counter in format \thecounter or
\countertype{counter} (\roman{counter}, or any character (for example "1").

The document is like this:

\documentclass{report}
\renewcommand{\thetable}{\arabic{section}\alph{table}}

\begin{document}
\section{my section}
\begin{table}[h]
\begin{tabular}{lll}
1 & 2 & 3
\end{tabular}
\caption{first table}
\end{table}

text

\begin{table}[h]
\begin{tabular}{lll}
1 & 2 & 3
\end{tabular}
\caption{second table}
\end{table}
\end{document}


You can't use table environment like this:
\begin{table}
\begin{table}
\begin{tabular}{lll}
\end{tabular}
\caption{first subtable}
\end{table}
\begin{table}
\begin{tabular}{lll}
\end{tabular}
\caption{second subtable}
\end{table}
\caption{big table}
\end{table}

If I wrong understand your problem description, describe what do you
want to do.

Greetings, Arek
Post by Polina Minkovski
Hey,
I'm wondering how I can manipulate table numeration in a TeX document.
With figures you can have subfigures to get 1a 1b 1c instead of 1 2
3....but for tables, they are automatically numbered and I don't know
if there exists a 'subtable' package or command?
I need to get Table 1a and 1b (as an example) not Table 1 Table 2.
Any ideas?
Thanks
Polina
------------------------------------------------------------------------
Bored stiff?
<http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com> Loosen up...
Download and play hundreds of games for free
<http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com> on Yahoo!
Games.
Giangiacomo Bravo
2007-03-02 09:17:27 UTC
Permalink
Use the \subtable command included in the subfigure package (check
the package documentation for more details).
All the best,
Giangiacomo

PS this is supposed to be a TXC user group. Why don't you post your
LaTeX question on the LaTeX community forum (www.latex-community.org)?
Post by Polina Minkovski
Hey,
I'm wondering how I can manipulate table numeration in a TeX document.
With figures you can have subfigures to get 1a 1b 1c instead of 1 2
3....but for tables, they are automatically numbered and I don't
know if there exists a 'subtable' package or command?
I need to get Table 1a and 1b (as an example) not Table 1 Table 2.
Any ideas?
Thanks
Polina
<http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>Bored
stiff? Loosen up...
<http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>Download
and play hundreds of games for free on Yahoo! Games.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Paulina
2007-03-02 19:52:33 UTC
Permalink
Okay, converting to pdf works fine :)
Except that ps doesn't see the "tgothic" package. Dvi and pdf is
created correctly.
Another question:
What command closes Foxit Reader (pdf) in the Viewer section of
profiles?

Greetings
Paulina



------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Karen Chiswell
2007-03-06 15:51:26 UTC
Permalink
Hi Alan,

Thanks for explaining how to set up the LaTeX => PS => PDF profile (a
few weeks back).

I think I followed all of your instructions, but my build does not
produce the pdf file (it produces the dvi and ps files fine).

After creating the ps file, it looks like it is finding the ghostcript
program, but I see the following message in TXC output window.
GPL Ghostscript 8.15 (2004-09-22)
... [some copyright information ]
**** Unable to open the initial device, quitting ****

Any ideas about what could be wrong? I am using 1 Beta 6.31 ("Firenze")

Best regards,
Karen
Hi Paulina,
If you want to create a new Output profile for LaTeX => PS => PDF
+ go to Build menu / Define Output profiles
+ select LaTeX => PS
+ click [Copy]
+ for the name add " => PDF" (LaTeX => PS => PDF)
+ for the first panel (La)TeX : no changes
- change arguments for DVIps to : -P pdf "%Bm.dvi"
- add a new action: clic on the small square on top ("New (Ins)" next
to the red cross)
name it : Ghostscript (pstopdf)
executable : C:\texplus\gs\gs8.50\bin\gswin32c.exe (this is the
ghostscript program, most probably not at the same location for you,
you
can use the search button next to it)
arguments : -sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE
-sDEVICE=pdfwrite -sOutputFile="%bm.pdf" -c save pop -f "%bm.ps"
+ for the Viewer panel you should modify to get the same as for
LaTeX =>
PDF (as you have to view a .pdf file)
I hope this helps
Alain Delmotte
------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups. See the new email design.
http://us.click.yahoo.com/lOt0.A/hOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Kristof Möller
2007-03-06 18:10:06 UTC
Permalink
Hi Karen,

I would upgrade to the newest GPL Ghostscript 8.54 and the newest
TeXnicCenter 7.01 "Greengrass" - maybe some path are not set correctly!

I recommend to uninstall all prior versions of Ghostscript and set up a
clean
installation - path: c:\Program Files\gs - You can use the Output-Profile
Assistant of TexnicCenter to set the path right!

Regards
Kris
Post by Karen Chiswell
Hi Alan,
Thanks for explaining how to set up the LaTeX => PS => PDF profile (a
few weeks back).
I think I followed all of your instructions, but my build does not
produce the pdf file (it produces the dvi and ps files fine).
After creating the ps file, it looks like it is finding the ghostcript
program, but I see the following message in TXC output window.
GPL Ghostscript 8.15 (2004-09-22)
... [some copyright information ]
**** Unable to open the initial device, quitting ****
Any ideas about what could be wrong? I am using 1 Beta 6.31 ("Firenze")
Best regards,
Karen
<mailto:TeXnicCenter-Users%40yahoogroups.com>, Alain Delmotte
Hi Paulina,
If you want to create a new Output profile for LaTeX => PS => PDF
+ go to Build menu / Define Output profiles
+ select LaTeX => PS
+ click [Copy]
+ for the name add " => PDF" (LaTeX => PS => PDF)
+ for the first panel (La)TeX : no changes
- change arguments for DVIps to : -P pdf "%Bm.dvi"
- add a new action: clic on the small square on top ("New (Ins)" next
to the red cross)
name it : Ghostscript (pstopdf)
executable : C:\texplus\gs\gs8.50\bin\gswin32c.exe (this is the
ghostscript program, most probably not at the same location for you,
you
can use the search button next to it)
arguments : -sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE
-sDEVICE=pdfwrite -sOutputFile="%bm.pdf" -c save pop -f "%bm.ps"
+ for the Viewer panel you should modify to get the same as for
LaTeX =>
PDF (as you have to view a .pdf file)
I hope this helps
Alain Delmotte
Alain Delmotte
2007-03-08 15:27:15 UTC
Permalink
Hi Karen and Kristof,

Yes, I would suggest to Karen (or Paulina!!) to upgrade to gs8.54 and
TeXnicCenter 7.01.

One could also use the mikTeX ghostscript in place of GhostScript itself:
in C:\Program Files\MiKTeX 2.5\miktex\bin\mgs.exe
use the button next to the : "LaTeX => PS => PDF profile/ Postprocessor
/ Executable" to find it

Let us know the result.

Regards,

Alain Delmotte
Post by Kristof Möller
Hi Karen,
I would upgrade to the newest GPL Ghostscript 8.54 and the newest
TeXnicCenter 7.01 "Greengrass" - maybe some path are not set correctly!
I recommend to uninstall all prior versions of Ghostscript and set up
a clean
installation - path: c:\Program Files\gs - You can use the Output-Profile
Assistant of TexnicCenter to set the path right!
Regards
Kris
Post by Karen Chiswell
Hi Alan,
Thanks for explaining how to set up the LaTeX => PS => PDF profile (a
few weeks back).
I think I followed all of your instructions, but my build does not
produce the pdf file (it produces the dvi and ps files fine).
After creating the ps file, it looks like it is finding the ghostcript
program, but I see the following message in TXC output window.
GPL Ghostscript 8.15 (2004-09-22)
... [some copyright information ]
**** Unable to open the initial device, quitting ****
Any ideas about what could be wrong? I am using 1 Beta 6.31 ("Firenze")
Best regards,
Karen
<mailto:TeXnicCenter-Users%40yahoogroups.com>, Alain Delmotte
Hi Paulina,
If you want to create a new Output profile for LaTeX => PS => PDF
+ go to Build menu / Define Output profiles
+ select LaTeX => PS
+ click [Copy]
+ for the name add " => PDF" (LaTeX => PS => PDF)
+ for the first panel (La)TeX : no changes
- change arguments for DVIps to : -P pdf "%Bm.dvi"
- add a new action: clic on the small square on top ("New (Ins)" next
to the red cross)
name it : Ghostscript (pstopdf)
executable : C:\texplus\gs\ gs8.50\bin\ gswin32c. exe (this is the
ghostscript program, most probably not at the same location for you,
you
can use the search button next to it)
arguments : -sPAPERSIZE= a4 -dSAFER -dBATCH -dNOPAUSE
-sDEVICE=pdfwrite -sOutputFile= "%bm.pdf" -c save pop -f "%bm.ps"
+ for the Viewer panel you should modify to get the same as for
LaTeX =>
PDF (as you have to view a .pdf file)
I hope this helps
Alain Delmotte
------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/0It09A/bOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Martin Chicoine
2007-03-08 15:33:37 UTC
Permalink
Karen, you have to close the pdf file before you compile it because Adobe
Reader locks it. It can be done automatically if you add the DDE command
[DocClose("%bm.pdf")] in the "Close document before running Latex" section
in TexnicCenter.

Martin.
Post by Karen Chiswell
After creating the ps file, it looks like it is finding the ghostcript
program, but I see the following message in TXC output window.
GPL Ghostscript 8.15 (2004-09-22)
... [some copyright information ]
**** Unable to open the initial device, quitting ****
Any ideas about what could be wrong? I am using 1 Beta 6.31 ("Firenze")
Best regards,
Karen
<mailto:TeXnicCenter-Users%40yahoogroups.com>, Alain Delmotte
Hi Paulina,
If you want to create a new Output profile for LaTeX => PS => PDF
+ go to Build menu / Define Output profiles
+ select LaTeX => PS
+ click [Copy]
+ for the name add " => PDF" (LaTeX => PS => PDF)
+ for the first panel (La)TeX : no changes
- change arguments for DVIps to : -P pdf "%Bm.dvi"
- add a new action: clic on the small square on top ("New (Ins)" next
to the red cross)
name it : Ghostscript (pstopdf)
executable : C:\texplus\gs\ gs8.50\bin\ gswin32c. exe (this is the
ghostscript program, most probably not at the same location for you,
you
can use the search button next to it)
arguments : -sPAPERSIZE= a4 -dSAFER -dBATCH -dNOPAUSE
-sDEVICE=pdfwrite -sOutputFile= "%bm.pdf" -c save pop -f "%bm.ps"
+ for the Viewer panel you should modify to get the same as for
LaTeX =>
PDF (as you have to view a .pdf file)
I hope this helps
Alain Delmotte
Karen Chiswell
2007-03-17 02:05:05 UTC
Permalink
Alan & Martin,

Thanks for your suggestions. Sorry that I didn't get back to you with
results earlier; I was out of town for a few days.

I made sure the pdf file is closed before compiling and this didn't
help. Also, using the Miktex version of ghostscript didn't work for
me either (I get the same error).

I have upgraded to TXC 7.01 and GPL ghostscript 8.56 (I couldn't find
8.54), but I still get the same error in the log window:

**** Unable to open the initial device, quitting ****

I appreciate any other suggestions you may have.

Best regards,
Karen
Post by Alain Delmotte
Hi Karen and Kristof,
Yes, I would suggest to Karen (or Paulina!!) to upgrade to gs8.54 and
TeXnicCenter 7.01.
in C:\Program Files\MiKTeX 2.5\miktex\bin\mgs.exe
use the button next to the : "LaTeX => PS => PDF profile/ Postprocessor
/ Executable" to find it
Let us know the result.
Regards,
Alain Delmotte
Post by Kristof Möller
Hi Karen,
I would upgrade to the newest GPL Ghostscript 8.54 and the newest
TeXnicCenter 7.01 "Greengrass" - maybe some path are not set correctly!
I recommend to uninstall all prior versions of Ghostscript and set up
a clean
installation - path: c:\Program Files\gs - You can use the
Output-Profile
Post by Alain Delmotte
Post by Kristof Möller
Assistant of TexnicCenter to set the path right!
Regards
Kris
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/hOt0.A/lOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Alain Delmotte
2007-03-18 16:25:52 UTC
Permalink
Hello,

Looking at your message, I think we could have wrongly concentrated on
the call of GhostScript or GhostView.
Post by Karen Chiswell
I have upgraded to TXC 7.01 and GPL ghostscript 8.56 (I couldn't find
**** Unable to open the initial device, quitting ****
The message says "initial device"! It is speaking about a *device*.
Does this not mean that GhostScript-GhostView or mgs-Yap can not open ??
the screen?

If this is the case, the problem is with the configuration of the
Ghostscript system in use!

Or am I wrong?

Before digging deeper in this direction I'd like to have comments on the
idea!

Regards,

Alain Delmotte




------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Karen Chiswell
2007-03-19 20:06:55 UTC
Permalink
Hi Alan,

Could be?

I am able to view the .dvi or .ps file by pressing F5 (under
appropriate build profile). So I assume YAP and Ghostview are
working OK.

A .pdf file is not created when I try to do DVI => PS => PDF

One thing I'm not sure about is whether I really did a clean install
of ghostscript. There seem to be several version of ghostscript
installed on this PC. I tried to remove them using Add/Remove
programs utility in Windows.

Thanks for thinking about this problem! This evening I will try to
create the DVI => PS => PDF profile on another PC where I have TXC
installed and see if I get the same error. Perhaps this will help
diagnose what the problem is.

Regards,
Karen
Post by Alain Delmotte
Hello,
Looking at your message, I think we could have wrongly
concentrated on
Post by Alain Delmotte
the call of GhostScript or GhostView.
Post by Karen Chiswell
I have upgraded to TXC 7.01 and GPL ghostscript 8.56 (I couldn't find
**** Unable to open the initial device, quitting ****
The message says "initial device"! It is speaking about a *device*.
Does this not mean that GhostScript-GhostView or mgs-Yap can not open ??
the screen?
If this is the case, the problem is with the configuration of the
Ghostscript system in use!
Or am I wrong?
Before digging deeper in this direction I'd like to have comments on the
idea!
Regards,
Alain Delmotte
------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
John Trapp
2007-03-20 09:53:06 UTC
Permalink
Post by Karen Chiswell
A .pdf file is not created when I try to do DVI => PS => PDF
I had the same problem, and it was because the ps2pdf executables are in
Texlive/xemtex, and this directory was not in the path. Some of the
relevant executables call other executables, and the path is required.
Either change the registry settings to include this folder, or run a batch
file under TXC to add the path each time.

John



------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~->
Karen Chiswell
2007-03-20 23:32:56 UTC
Permalink
Hi Alain and others who tried to help,

I finally got my LaTeX => PS => PDF profile to work :-D

I am still not sure what the problem was. The way I got it to work
was I copied the argument's from Tino Weinkauf's post on the same
subject (28 Feb) for the Ghostscript (pstopdf) postprocessor in the
LaTeX => PS => PDF profile:
Arguments: -sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE -sDEVICE=pdfwrite
-sOutputFile="%bm.pdf" -c save pop -f "%bm.ps"

To me these look EXACTLY the same as the the ones that Alain posted (1
March):
arguments : -sPAPERSIZE=a4 -dSAFER -dBATCH -dNOPAUSE
-sDEVICE=pdfwrite -sOutputFile="%bm.pdf" -c save pop -f "%bm.ps"


But perhaps there was some hidden character or something that I copied
and pasted that confused things. Well, anyway, thanks for a very nice
product and also the great support!

Best wishes,
Karen
Post by Alain Delmotte
Hello,
Looking at your message, I think we could have wrongly concentrated on
the call of GhostScript or GhostView.
Post by Karen Chiswell
I have upgraded to TXC 7.01 and GPL ghostscript 8.56 (I couldn't find
**** Unable to open the initial device, quitting ****
The message says "initial device"! It is speaking about a *device*.
Does this not mean that GhostScript-GhostView or mgs-Yap can not open ??
the screen?
If this is the case, the problem is with the configuration of the
Ghostscript system in use!
Or am I wrong?
Before digging deeper in this direction I'd like to have comments on the
idea!
Regards,
Alain Delmotte
Loading...