Hans F. Nordhaug | 1 Nov 2005 10:11
Picon
Picon
Favicon

Re: Problem with ps2pdf

* Ravinder Kumar Banyal <banyal <at> iiap.res.in> [2005-10-31]:
> Dear friends,
> I'm using Miktex/WinEdt for for preparing pdf document. The problem I am
> encountering are as follows:
> 1) Some of the the eps figures are not included in the final pdf version 
> that is created using dvi2pdf (from winedt). In place of intended figure,
> only the bounding frame appears.

This is normally because your eps files aren't real EPS files. (They
are PS files which contain commands that aren't allowed in EPS files.)
Since this isn't a winedt mailing list, you should tell us what the
"dvi2pdf" action really does.

> 2) Above problem is solved if I creat PDF file using dvi2ps and then
> ps2pdf utilities. But then the top margin in every pages of PDF file is
> getting reduced for some unknown reasons. In addition, the figures are not
> renderd in original colour. Though everything appears fine in PS file.

The shifted top margin is because Ghostscript (which is the enginge
behind) ps2pdf has a different default page size than you. Either give
the papersize as an option to ps2pdf (read about the Ghostscript
options) or if you always use the same papersize, change it in 
texmf\ghostscript\base\gs_init.ps Look for the line 
"% Optionally choose a default paper size other than U.S. letter."
and remove the percent sign in front of the following line if you want
a4. 

Hans

PS! There is no dvi2ps, only dvips.
(Continue reading)

Adrian M. Peter | 2 Nov 2005 06:13
Picon

Miktex can't see localtexmf

Hi,

I am trying to install an new .sty file I just downloaded.  I followed the 
instruction I found on my websites by creating a new directory under my 
c:\localtexmf\tex\latex\<new dir> and placed my .sty file there.  Then I 
tried to refresh using the Miktex options gui.  However, it is not finding 
my new file.  Also I don't even see it looking the c:\locatexmf director as 
it is doing the search, eventhough it is listed in the list of directories 
to look for.  Does anyone know what could be going on or how I am screwing 
things up :).  (I'm new to Miktex so this is very likely).  Thank you in 
advance for any help.

Adrian

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
Juan Antonio Navarro | 2 Nov 2005 09:36
Picon

Re: Miktex can't see localtexmf

Adrian,

Indeed your problem sounds strange. Have you checked that MiKTeX knows
"C:\localtexmf" as a local TEXMF directory? You can check this under
the "Roots" tab in MiKTeX Options.

Hopefully some other people in the list would have better ideas to try
in order to find a solution.

Regards,

On 11/2/05, Adrian M. Peter <adrian-peter <at> cfl.rr.com> wrote:
> Hi,
>
> I am trying to install an new .sty file I just downloaded.  I followed the
> instruction I found on my websites by creating a new directory under my
> c:\localtexmf\tex\latex\<new dir> and placed my .sty file there.  Then I
> tried to refresh using the Miktex options gui.  However, it is not finding
> my new file.  Also I don't even see it looking the c:\locatexmf director as
>
> it is doing the search, eventhough it is listed in the list of directories
> to look for.  Does anyone know what could be going on or how I am screwing
> things up :).  (I'm new to Miktex so this is very likely).  Thank you in
> advance for any help.
>
> Adrian
>
>
>
> -------------------------------------------------------
(Continue reading)

koul | 2 Nov 2005 16:08
Favicon

Yap2.4+WinXP=?

Hello,
I run  MikTex 2.4 and Yap2.4 under WinXP.
There is the problem with dvi-previewng some files with embeded 
pstrick-code (gradient lines, boxes, etc.)
For MikTeX 2.3 with corresponding Yap there was not any problem with 
such a files.
Yap2.4 uses gs-internal MikTeX interpreter but not gsview as in previous 
releases <2.4.
Could I point Yap2.4 to call directry gsview32.exe like in previous 
version to avoid the problem?
The line Options/ PS-interpreter is not editable in menu.
Under Win98 everything is OK.

Thanx for help in advance!

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
koul | 2 Nov 2005 16:31
Favicon

Re: MiKTeX-Users digest, Vol 1 #1088 - 2 msgs

miktex-users-request <at> lists.sourceforge.net wrote:

>Message: 2
>Date: Thu, 27 Oct 2005 09:44:39 +0100
>From: Juan Antonio Navarro <juannavarroperez <at> gmail.com>
>To: miktex-users <at> lists.sourceforge.net
>Subject: [MiKTeX] Re: some PS specials coud not be rendered
>Reply-To: miktex-users <at> lists.sourceforge.net
>
>A (minimal) example of the latex code you are using and produces the
>error might be very useful to find out what is going on... Also, you
>are viewing the final .ps file in GsView, right? Because Yap is a
>_previewer_ only, and does not have to render (nor does) all
>postscript specials..
>
>On 10/27/05, koul <koul <at> paco.net> wrote:
>  
>
>--
>juan antonio navarro perez
>  
>
Thanx for the answer. I know that Yap does not show all ps information. 
But for MikTeX 2.3+Yap (corresponding version)
there is no any problem with the viewing dvi-file below (under WinXP). 
Moreover under Win98 there is no problem in viewing dvi also!
I think the problem in yap related dll with WinXP.
Yap2.4 uses gs-internal MikTeX interpreter but not gsview as in previous 
releases <2.4.
Could I point Yap2.4 to call directry gsview32.exe like in previous 
(Continue reading)

Juan Antonio Navarro | 2 Nov 2005 21:02
Picon

Re: MiKTeX-Users digest, Vol 1 #1088 - 2 msgs

Did "A (minimal) example" made any sense to you?

Sorry for being rude.. but there is no way anyone would like to try
and figure out the error from the code that you have just posted. Your
other message when you clearly explain the different output obtained
with diferent versions of Yap and Windows has more chances to actually
give you a solution.

In the meanwhile I would recomend you to preview in GsView, it is not
excessively slow and it reloads the file when when you click in the
window.

(I would also recomend to use TikZ instead of pstricks, but that is
just a personal opinion and a matter of taste.)

--
juan antonio navarro perez
http://www.cs.man.ac.uk/~navarroj

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
koul | 3 Nov 2005 08:49
Favicon

Re: PStricks+MikTex2.4+ Yap+WinXP

miktex-users-request <at> lists.sourceforge.net wrote:

>Message: 5
>Date: Wed, 2 Nov 2005 20:02:13 +0000
>From: Juan Antonio Navarro <juannavarroperez <at> gmail.com>
>To: miktex-users <at> lists.sourceforge.net
>Subject: [MiKTeX] Re: MiKTeX-Users digest, Vol 1 #1088 - 2 msgs
>Reply-To: miktex-users <at> lists.sourceforge.net
>
>Did "A (minimal) example" made any sense to you?
>
>Sorry for being rude.. but there is no way anyone would like to try
>and figure out the error from the code that you have just posted. Your
>other message when you clearly explain the different output obtained
>with diferent versions of Yap and Windows has more chances to actually
>give you a solution.
>
>In the meanwhile I would recomend you to preview in GsView, it is not
>excessively slow and it reloads the file when when you click in the
>window.
>
>(I would also recomend to use TikZ instead of pstricks, but that is
>just a personal opinion and a matter of taste.)
>
>
>--
>juan antonio navarro perez
>http://www.cs.man.ac.uk/~navarroj
>  
>
(Continue reading)

Christine Körner | 3 Nov 2005 10:03
Picon
Favicon

Trouble with Font (ACM, umlaute)

Hallo,

I need to formate my paper with the ACM "sig-alternate" style sheet. 
(http://www.acm.org/conferences/sac/sac2006/pages/SAC2006_Latex_Template.zip)

The first problem I ran into was that the right font could not be 
found. (I worked though at a collegue of mine unsing Linux.)

maketfm: No creation rule for font "ptmb".
! Font \secfnt=ptmb at 12.0pt not loadable: Metric (TFM) file not found.

I remedied this by replacing "ptmb" with "ptmb8r" in the .cls file 
alike for all font definitions. The problem I now face is that any 
umlaute do not work any more. I included \usepackage[latin1]{inputenc} 
which accepts "ö" as a character but prints "o". I tried a direct 
encoding with \''o, included %\usepackage[cp850]{inputenc} and 
\usepackage{german}, but neither of these work.

I would be very glad if any of you could help me. This is very urgent!

Thanks, Christine

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
Hans F. Nordhaug | 3 Nov 2005 11:01
Picon
Picon
Favicon

Re: Re: PStricks+MikTex2.4+ Yap+WinXP

* koul <koul <at> paco.net> [2005-11-03]:
> Dear Juan Antonio, thanx for help. Sorry for "minimal" example. Here is 
> minimal indeed :)
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \documentclass{article}
> \usepackage{pst-all}
> %
> \begin{document}
> \begin{pspicture}(0,0)(\textwidth,14.5)
> \rput[lt](-2.3cm,-1.5cm){%
> \psframe[gradbegin=yellow,gradend=white,gradmidpoint=1,
>         gradangle=90,fillstyle=gradient,gradlines=1000,
>         linestyle=none](0.685,2.235)(2.385,1.185)}
> \end{pspicture}
> \end{document}
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> It produces the following in Yap previewing
> -----------------------------------------------------------------------------
> Error: /typecheck in ifelse
> Operand stack:
[cut]

I'm not able to reproduce this failure. Something in your MiKTeX setup
must be corrupted. If you turn on Trace in Yap, download Debugview[1] and
watch what is executed when you open the file we might get a clue...

(I'm running an up-to-date MiKTeX with the same version of
Ghostscript.)

Hans
(Continue reading)

Hans F. Nordhaug | 3 Nov 2005 11:15
Picon
Picon
Favicon

Re: Trouble with Font (ACM, umlaute)

* Christine Körner <christine.koerner <at> ais.fraunhofer.de> [2005-11-03]:
> Hallo,
> 
> I need to formate my paper with the ACM "sig-alternate" style sheet. 
> (http://www.acm.org/conferences/sac/sac2006/pages/SAC2006_Latex_Template.zip)
> 
> The first problem I ran into was that the right font could not be 
> found. (I worked though at a collegue of mine unsing Linux.)
> 
> maketfm: No creation rule for font "ptmb".
> ! Font \secfnt=ptmb at 12.0pt not loadable: Metric (TFM) file not found.
> 
> I remedied this by replacing "ptmb" with "ptmb8r" in the .cls file 
> alike for all font definitions. The problem I now face is that any 
> umlaute do not work any more. I included \usepackage[latin1]{inputenc} 
> which accepts "ö" as a character but prints "o". I tried a direct 
> encoding with \''o, included %\usepackage[cp850]{inputenc} and 
> \usepackage{german}, but neither of these work.
> 
> 
> I would be very glad if any of you could help me. This is very urgent!

Well, if it was that urgent why didn't you search a little your self?
There is <http://miktex.org/search.html>. (This is a FAQ.)
Follow the advice in
<http://sourceforge.net/forum/message.php?msg_id=2994594>
and things might work better. However, someone has already done the
work - use this file instead
<http://www.cc.gatech.edu/~giac/sw/sig-alternate.cls>
But if you don't use T1 fontencodig, edit that file according to
(Continue reading)


Gmane