I think I must be blind ... Thanks
General ⇒ LaTeX => PS => PDF
Re: LaTeX => PS => PDF
I think I must be blind ... Thanks
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: LaTeX => PS => PDF
-
crdafisica
- Posts: 10
- Joined: Thu Jun 26, 2008 4:25 am
LaTeX => PS => PDF
I had the same problem with my texniccenter. After some tests I believe that the problem was texniccenter+ghostscript. The newer version 1 beta 7.50 gives support to GPL ghostscript while the version 1 beta 7.01 only gives support to AFPL ghostscript.sveioen wrote:Hello all,
I'm having trouble making the LaTeX => PS => PDF output profile. When I start TeXnicCenter for the first time, the wizard comes up. I browse to the latex executables and all that. I also add the path to my ghostview 8.56 executables and press OK. Still, I only get the 3 profiles; LaTeX => PDF, PS and DVI. I would like to have LaTeX => PS => PDF as well. How can I do this?
Thank you!
LaTeX => PS => PDF
Sorry to up this old topic but I encounter the same problem.
I try to write a report with some images, when I build the file with
Latex => DVI or PS, I have the good final file (but I want a pdf and the quality is horrible if i print the DVI in a pdf);
Latex => PDF, I obtain the good text (chapter, TOC and everything) but blanks instead of pictures;
Latex => PS => PDF, I only obtain the pictures in the .pdf file
I use the profiles given by localghost (adapting the paths) and I'm using Miktex v2.7.3107, TeXNicCenter v1.7.50beta, Adobe Reader v8.1.2, GhostScript v8.62 and GSview v4.9 with Vista SP1
I don't know how to join a file so I paste the code here
Code: Select all
\documentclass[a4paper,twoside,11pt]{report}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{graphicx} %%graphics and normal LaTeX [dvips]
%\usepackage[hang,tight,raggedright]{subfigure} %%Subfigures inside a figure
%\usepackage{graphics}
%\usepackage{epsfig}
%% Other Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{a4}
\usepackage{afterpage}
\usepackage{array}
\usepackage{cite}
\usepackage{citesort}
\usepackage{color}
\usepackage{delarray}
\usepackage{enumerate}
\usepackage{euscript}
%\usepackage{fancybox}
\usepackage{float}
%\usepackage[headings]{fullpage}
\usepackage{latexsym}
\usepackage{pifont}
%\usepackage[dvips]{pstricks}
\usepackage{theorem}
\hoffset=-1.5cm
\textwidth=16cm
\begin{document}
\input{epsf}
\pagestyle{empty} %No headings for the first pages.
\begin{titlepage}
\begin{figure}[h!]
\vspace{4.cm} \hspace{-17.5mm} \special{psfile=image.ps voffset=0 hoffset=0 hscale=34 vscale=34 angle=0}
\end{figure}
\begin{figure}[h!]
\includegraphics[width=\textwidth]{image}
\end{figure}
\textbf{\Large{BLABLA}}
\end{titlepage}
\tableofcontents %Table of contents
\cleardoublepage %The first chapter should start on an odd page.
\pagestyle{plain} %Now display headings: headings / fancy / ...
\chapter{Introduction}\label{introduction}
BLABLABLA
\end{document}
Someone has an idea ?
Thanks
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
LaTeX => PS => PDF
Just go to the section "Upload attachment" when writing a post. It's not that difficult as you might think. Perhaps you have to rename the log file because not all suffixes are accepted.jambon wrote:[...] I don't know how to join a file so I paste the code here [...]
Perhaps the figure environments in the titlepage environment cause difficulties. They will try to float, but they can't. However, more details can be found out when looking at the log file.
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
LaTeX => PS => PDF
So I join the log and tex (I don't see anything strange in it but I'm not used to explore log files...), it finishes telling the dvi file is built, but LaTeX => PS => PDF makes me a correct dvi and only pictures for the pdf.
I also see this in the output of TeXnicCenter
the same thing for ecxb2488, ecxb1095 and ecxb2074Index style file personal.ist not found.
Usage: C:\Program Files\MiKTex 2.7\miktex\bin\makeindex.exe [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
Trying to make PK font ecbx1440 at 8000DPI
makepk: Specified BDPI (8000) doesn't match ljfour resolution (600)
Thanks
- Attachments
-
- Report.tex
- tex file used
- (3.64 KiB) Downloaded 8013 times
-
- Report.log
- log file from the LaTeX => PS => PDF profile
- (6.98 KiB) Downloaded 8196 times
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
LaTeX => PS => PDF
Finally, some remarks regarding the settings for MakeIndex in this profile. I once wrote an index style file named personal.ist to enhance the output of the index. Since this file is not present on other systems, the settings for MakeIndex have to be reset to default. Furthermore the command line argument -g has to be omitteted to switch off sorting of the index according to the German language. Hence the only command line argument for MakeIndex has to be "%bm". You can find three explaining screenshots attached to an earlier post of this topic.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
LaTeX => PS => PDF
The two files are the image.ps (I just changed name) and the other one is a tex file to have another way figures (giving exact position size and scales so you can put many subfigures as you want).
I change the arguments but I was not the problem so I deleted much packages (many are there when you start the document) and it works.
The problem comes from the package
\usepackage[T1]{fontenc}
when I comment it, the pdf is correctly generated. I have seen on some websites that it is made to improve output pdf quality ?
Is it necessary or can I delete it and have good quality for my pdf (my poor eyes will see a difference?)?
I'm looking for more information about this
edit: I resolve my problems:
I had these packages:
but fontenc was the problem of my pdf generation (only pictures)\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
I add these packages (for accent in pdf, even if i had no accent before) and it works now:
source (french forum) at http://linuxfr.org/~_alex/11216.html\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{palatino}
\usepackage{lmodern}
\usepackage[latin1]{inputenc}
Cheers,
Jambon
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
LaTeX => PS => PDF
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
LaTeX => PS => PDF
I join 3 files, the epsf for figure, the image and a tex file so you can try.
I add 3 packages
If I comment the 3 lines, the pdf is generated without text and if i uncomment at least 1 of them (doesn't matter which one), it is ok for me.\usepackage{times}
\usepackage{palatino}
\usepackage{lmodern}
Maybe luck, probably another hidden setting, but for sure it is working for me
Cheers,
Jambon
edit: the image is too big, take any ps image