GeneralLaTeX => PS => PDF

General information and discussion about TeXnicCenter
SoulReaper
Posts: 6
Joined: Fri Nov 07, 2008 5:56 pm

Re: LaTeX => PS => PDF

Post by SoulReaper »

i found the same problem. Here's my solution. i first removed my texnic center. after that i download a latest version of ghostscript and i reinstall my texnic center ad the program found LaTeX => PS => PDF.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
GeorgeLeCompte
Posts: 7
Joined: Sun Jan 28, 2007 1:18 pm

Re: LaTeX => PS => PDF

Post by GeorgeLeCompte »

I can download the sample code; but I don't know how to install it as a profile?
Please help me on this.
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

LaTeX => PS => PDF

Post by localghost »

GeorgeLeCompte wrote:I can download the sample code; but I don't know how to install it as a profile? […]
In this topic it has already been described that you have to go to the menu "Build -> Define Output Profiles" (or press Alt+F7) and then click the "Import" button. Browse this topic for further Information. You can also start the wizard to let TeXnicCenter (TXC) rebuild the profiles. This only works if all the necessary software (MiKTeX, Ghostscript, Adobe Reader) is installed. You will again have to give TXC the path to the MiKTeX executables.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
GeorgeLeCompte
Posts: 7
Joined: Sun Jan 28, 2007 1:18 pm

Re: LaTeX => PS => PDF

Post by GeorgeLeCompte »

I downloaded latex-ps-pdf to my working directory.
Microsoft search for *.tco says it is there;
however TeXnicCenter profiles import reports:

The system cannot locate the object specified

ProgramID: msml4.dll
HRESULT: 0x00000001

<OK>

Please give me further help.

george
lottie
Posts: 1
Joined: Fri May 22, 2009 4:31 pm

LaTeX => PS => PDF

Post by lottie »

Whenever I set up TeXnicCenter anew, I always google LaTeX=>PS=>PDF and find this thread, and have used the profile attached by localghost before - thanks very much. This time I did it in a way I found simpler... perhaps the latest version of the software has made it easier? Anyway, all I did to set everything up, including the LaTeX=>PS=>PDF profile, was this:
  • Download and install the latest version of MiKTeX
  • Install any updates by clicking Start...Programs...MiKTeX...Update
  • Download and install the latest version of TeXnicCenter
  • Download and install Ghostscript. The various files to download confused me. I went here: http://pages.cs.wisc.edu/~ghost/doc/cvs/Install.htm to find out that I could simply download a file called gs###w32.exe, where ### is the latest version, in order to get a self-extracting file to install Ghostscript on a Windows 32-bit system (the usual type) running XP, Vista and other operating systems.
  • Upon opening TeXnicCenter, you are prompted to use the Confuguration Wizard window. To get back to this another time to set up the LaTeX=>PS=>PDF profile, in TeXnicCenter click Build...Define Output Profiles...Wizard
  • When it asks for the full path for the directory where the executables of your Tex-distribution are located, browse to C...Program Files...MiKTeX 2.7...miktex...bin (ok)
  • Click next...next...finish
  • Et voila! (It worked for me anyway.) I get the four profiles: LaTeX=>DVI; LaTeX=>PDF; LaTeX=>PS; and the elusive LaTeX=>PS=>PDF.
I hope this helps someone. Computers can be a pain in the bum-bum.
Faust
Posts: 55
Joined: Thu Oct 29, 2009 12:45 pm

Re: LaTeX => PS => PDF

Post by Faust »

I have a question: Is there any noticeable quality loss when using Latex=>PS=>PDF instead of using Latex=> PDF. Im talking about the final PDF result, not the postscript. Also, is the layout identical?

I previously used Latex=> PDF, saving any figure as a PDF with photoshop.
Now, for maximum compatibility, I use the fist route. I saved every image as an EPS (using photoshop) in a different folder.

I noticed the size of the PS is significantly bigger than the pdf (1.6 GB versus 12 mb), build time has increased enormously.

Also, I noticed some EPS graphics getting quite large (80 mb). Especially exported graphs from Origin8. Anything I should do about it? reducing to 200dpi gives like 15 mb each.
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

LaTeX => PS => PDF

Post by Montag »

Thank you very very much for this profile, Thorsten, I've been using it for a few for (very) projects now. Today, I had to activate the makeindex.exe, so I came across a "feature" in the profile that you provided for the download: The command line for the index process features this:

Code: Select all

-s personal.ist -g "%bm"
This might be a confusing thing for a beginner.
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

LaTeX => PS => PDF

Post by localghost »

You're right.That's a relic that should be removed. This way MakeIndex uses German sorting and my personal index style file.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
bmassey
Posts: 1
Joined: Tue Aug 10, 2010 1:11 pm

Re: LaTeX => PS => PDF

Post by bmassey »

Hi,
Thanks for this thread...it's still very useful. Just to make it clear for others that when importing the latex-ps-pdf.tco file there has to be a ghostscript viewer that supports the ps2pdf command. (As of this writing the current version for windows is gs8.71). This finally allowed me to generate a pdf file when before only .ps and .dvi files were generating.
BTW...am using Windows Vista.

Hope this Helps,
--Beth
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

LaTeX => PS => PDF

Post by localghost »

bmassey wrote:Hi,
Thanks for this thread...it's still very useful. Just to make it clear for others that when importing the latex-ps-pdf.tco file there has to be a ghostscript viewer that supports the ps2pdf command. (As of this writing the current version for windows is gs8.71). This finally allowed me to generate a pdf file when before only .ps and .dvi files were generating.
BTW...am using Windows Vista.

Hope this Helps,
--Beth
Once you have Ghostscript installed, it is enough to start TeXnicCenter (TXC), press »Alt+F7« and start the wizard to build all profiles anew. The subsequent import will not be necessary.


Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Post Reply