Re: Problem with dvi2pdf or pdftex
Jorge Ramos <[email protected]>
| Newsgroups | gmane.comp.tex.miktex |
|---|---|
| Message-ID | <CACX30jgQEOMWRjRn40VcJq0UQb69xAaKkb3Lgp8GuGg=rvdrrw@mail.gmail.com> |
Hans:
I recently noticed that pstricks does not work with DVI, instead I
compile the tex file in the following order:
Latex->PS->PDF
Are you using Texniccenter as the editor? If so, you could edit the
output profile for doing this automatically. These are my parameters:
Postprocesor tab:
DVIPS
executable: dvips.exe
arguments: "%bm.dvi"
PS2PDF
executable: ps2pdf.exe
arguments: "%bm.ps"
in the Viewer tab:
View project output with DDE command: [DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
Server: acroviewR10 (if using Accrobat reader X, else just acroview)
topic: control
forward search: use command line argument "%bm.pdf"
close document use DDE command:
[DocOpen("%bm.pdf")][DocClose("%bm.pdf")] with same server and topic
cheers,
Jorge.
On Wed, Jul 13, 2011 at 3:14 AM, Ulrike Fischer <[email protected]> wrote:
> Am Tue, 12 Jul 2011 22:23:28 +0200 schrieb Hans Marius Eikseth:
>
>> Dear list readers,
>> unfortunately I today have problems of a similar kind.
>
> I would say your problem is quite different. ;-)
>
>> Pdflatex was fine, as long as I didn't call pstricks.
>
> If you want to use pstricks with pdflatex look at the pst-pdf or
> auto-pst-pdf package.
>
>> I then logged off, and back on again things didn't work as expected
>> anymore :(
>>
>> *****begin minimal example********
>> \documentclass{article}
>> \usepackage[latin1]{inputenc}
>> \usepackage[T1]{fontenc}
>> \begin{document}
>> Minimal
>>
>> æøå
>> \end{document}
>> *******end minimal example********
>> NOTE: As I write this on a MacBook, I actually had to change
>> characters in my example - the accented chars are supposed to be
>> chars 27, 28, 29 of Norwegian alphabet.
>
> The characters are irrelevant.
>
>
>> What a back-to-back latex+dvips session wrote to my CMD session window:
>>
>> *****begin output******
>> C:\Temp\2010test>latex minimal
>> This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)
> [...]
>> Output written on minimal.dvi (1 page, 244 bytes).
>> Transcript written on minimal.log.
>
> latex run worked without problems.
>
>
>> C:\Temp\2010test>dvips minimal
>> This is dvips(k) 5.99 Copyright 2010 Radical Eye Software
>> (www.radicaleye.com)
>> ' TeX output 2011.07.12:1559' -> minimal.ps
>> Trying to make PK font ecrm1000 at 600 DPI...
>> Creating ecrm1000.pk...
> [...]
>> <C:\Users\hans\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\jknappen\ec
>> \dpi600\ecrm1
>> 000.pk>
>> <C:/miktex29/dvips/base/tex.pro>. [1]
>
> dvips worked fine too: this is an absolutly normal output. What is
> your problem? Didn't you get a minimal.ps?
>
> Btw: You should install the cm-super package (large package! can
> take some time) or use the lmodern fonts (\usepackage{lmodern)) so
> that dvips doesn't have to use bitmap fonts (and generate them at
> the first use).
>
>
> --
> Ulrike Fischer
>
>
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> MiKTeX-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/miktex-users
>
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev