Font Problems with Yap

Help
Kai
2012-01-04
2012-10-17
  • Kai

    Kai - 2012-01-04

    Hello,

    I got a strange problem with Yap (2.9.4206, MikTeX 2.9, Win 7, 64 bit):
    DVI documents without any graphics/EPS are displayed correctly. However, if
    there is any graphics (somewhere in the whole document), all pages stay
    completely blank. Using the magnifying glass, the font is displayed correctly
    in the magnified area.
    Changing the render method to DVIPS causes Yap to crash immediately.

    I'd be thankful for any input on this problem.
    Thanks in advance,

    Kai

     
  • U_Fischer

    U_Fischer - 2012-01-04

    Well obviously there is a problem with dvips (which is used by YAP if a
    document contains a graphic). But without a minimun of information about your
    document and the fonts it uses (minimal example) nobody will be able help you.

    Ulrike Fischer

     
  • Kai

    Kai - 2012-01-04

    OK, that's true, a minimal example would've been helpful, sorry about that.
    Though, it really happens in ANY document, e.g. the following:

    \documentclass{report}
    \usepackage{graphicx}
    \begin{document}
    %\includegraphics{anything} % yap works fine without this line, but doesn't
    display anything useful with it
    Hello World!
    \end{document}

    Kai

     
  • U_Fischer

    U_Fischer - 2012-01-05

    Try if you get the same problem with this document (it should force dvips
    render mode too):

    \documentclass{report}
    \usepackage{hyperref}
    \begin{document}
    \section{abc}
    Hello World!
    \end{document}

    If yes, use this for the next test. If not use your document with the graphic
    tiger.eps from ctan. Get also tiger.pdf.

    Then compile with latex and then call dvips on the command line and check for
    messages. Compile also the document with pdflatex and show the log-file.

    Ulrike Fischer

     
  • Kai

    Kai - 2012-01-05

    Your document produces the very same problems.

    dvips works fine, the produced postscript file is OK. Output:

    This is dvips(k) 5.991 Copyright 2011 Radical Eye Software (www.radicaleye.com)
    ' TeX output 2012.01.05:1106' -> test.ps
    <C:/Program Files (x86)/MiKTeX 2.9/dvips/base/tex.pro>
    <C:/Program Files (x86)/MiKTeX 2.9/dvips/base/texps.pro>
    <C:/Program Files (x86)/MiKTeX 2.9/dvips/base/special.pro>.
    <C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb>
    <C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx12.pfb>
    [1]
    

    The log file from the pdflatex run:

    This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2012.1.3)  5 JAN 2012 11:08
    entering extended mode
    **test
    ("D:\klingema\Ubuntu VB exchange\latex\test.tex"
    LaTeX2e <2011/06/27>
    Babel <v3.8m> and hyphenation patterns for english, afrikaans, ancientgreek, ar
    abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, 
    croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
    lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
    ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
    vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
    an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, 
    romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
    sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
    senglishmax, welsh, loaded.
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\report.cls"
    Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size10.clo"
    File: size10.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
    )
    \c@part=\count79
    \c@chapter=\count80
    \c@section=\count81
    \c@subsection=\count82
    \c@subsubsection=\count83
    \c@paragraph=\count84
    \c@subparagraph=\count85
    \c@figure=\count86
    \c@table=\count87
    \abovecaptionskip=\skip41
    \belowcaptionskip=\skip42
    \bibindent=\dimen102
    )
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\hyperref.sty"
    Package: hyperref 2011/12/04 v6.82m Hypertext links for LaTeX
    
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\hobsub-hyperref.sty"
    Package: hobsub-hyperref 2011/04/23 v1.4 Bundle oberdiek, subset hyperref (HO)
    
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\hobsub-generic.sty"
    Package: hobsub-generic 2011/04/23 v1.4 Bundle oberdiek, subset generic (HO)
    Package: hobsub 2011/04/23 v1.4 Subsetting bundle oberdiek (HO)
    Package: infwarerr 2010/04/08 v1.3 Providing info/warning/message (HO)
    Package: ltxcmds 2011/04/18 v1.20 LaTeX kernel commands for general use (HO)
    Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
    Package ifluatex Info: LuaTeX not detected.
    Package: ifvtex 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO)
    Package ifvtex Info: VTeX not detected.
    Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO)
    Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
    Package ifpdf Info: pdfTeX in PDF mode is detected.
    Package: etexcmds 2011/02/16 v1.5 Prefix for e-TeX command names (HO)
    Package etexcmds Info: Could not find \expanded.
    (etexcmds)             That can mean that you are not using pdfTeX 1.50 or
    (etexcmds)             that some package has redefined \expanded.
    (etexcmds)             In the latter case, load this package earlier.
    Package: kvsetkeys 2011/04/07 v1.13 Key value parser (HO)
    Package: kvdefinekeys 2011/04/07 v1.3 Defining keys (HO)
    Package: pdftexcmds 2011/04/22 v0.16 Utilities of pdfTeX for LuaTeX (HO)
    Package pdftexcmds Info: LuaTeX not detected.
    Package pdftexcmds Info: \pdf@primitive is available.
    Package pdftexcmds Info: \pdf@ifprimitive is available.
    Package pdftexcmds Info: \pdfdraftmode found.
    Package: pdfescape 2011/04/04 v1.12 Provides string conversions (HO)
    Package: bigintcalc 2011/01/30 v1.2 Expandable big integer calculations (HO)
    Package: bitset 2011/01/30 v1.1 Data type bit set (HO)
    Package: uniquecounter 2011/01/30 v1.2 Provides unlimited unique counter (HO)
    )
    Package hobsub Info: Skipping package `hobsub' (already loaded).
    Package: letltxmacro 2010/09/02 v1.4 Let assignment for LaTeX macros (HO)
    Package: hopatch 2011/01/30 v1.0 Wrapper for package hooks (HO)
    Package: xcolor-patch 2011/01/30 xcolor patch
    Package: atveryend 2011/04/23 v1.7 Hooks at very end of document (HO)
    Package: atbegshi 2011/01/30 v1.15 At begin shipout hook (HO)
    Package: refcount 2010/12/01 v3.2 Data extraction from references (HO)
    Package: hycolor 2011/01/30 v1.7 Color options of hyperref/bookmark (HO)
    )
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty"
    Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
    \KV@toks@=\toks14
    )
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty"
    Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
    )
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\oberdiek\kvoptions.sty"
    Package: kvoptions 2010/12/23 v3.10 Keyval support for LaTeX options (HO)
    )
    \@linkdim=\dimen103
    \Hy@linkcounter=\count88
    \Hy@pagecounter=\count89
    
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\pd1enc.def"
    File: pd1enc.def 2011/12/04 v6.82m Hyperref: PDFDocEncoding definition (HO)
    )
    \Hy@SavedSpaceFactor=\count90
    
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\hyperref.cfg"
    File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
    )
    Package hyperref Info: Hyper figures OFF on input line 4046.
    Package hyperref Info: Link nesting OFF on input line 4051.
    Package hyperref Info: Hyper index ON on input line 4054.
    Package hyperref Info: Plain pages OFF on input line 4061.
    Package hyperref Info: Backreferencing OFF on input line 4066.
    Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
    Package hyperref Info: Bookmarks ON on input line 4284.
    \c@Hy@tempcnt=\count91
    
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ltxmisc\url.sty"
    \Urlmuskip=\muskip10
    Package: url 2006/04/12  ver 3.3  Verb mode for urls, etc.
    )
    LaTeX Info: Redefining \url on input line 4637.
    \Fld@menulength=\count92
    \Field@Width=\dimen104
    \Fld@charsize=\dimen105
    Package hyperref Info: Hyper figures OFF on input line 5757.
    Package hyperref Info: Link nesting OFF on input line 5762.
    Package hyperref Info: Hyper index ON on input line 5765.
    Package hyperref Info: backreferencing OFF on input line 5772.
    Package hyperref Info: Link coloring OFF on input line 5777.
    Package hyperref Info: Link coloring with OCG OFF on input line 5782.
    Package hyperref Info: PDF/A mode OFF on input line 5787.
    LaTeX Info: Redefining \ref on input line 5827.
    LaTeX Info: Redefining \pageref on input line 5831.
    \Hy@abspage=\count93
    \c@Item=\count94
    \c@Hfootnote=\count95
    )
    
    Package hyperref Message: Driver (autodetected): hpdftex.
    
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\hpdftex.def"
    File: hpdftex.def 2011/12/04 v6.82m Hyperref driver for pdfTeX
    \Fld@listcount=\count96
    \c@bookmark@seq@number=\count97
    
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\oberdiek\rerunfilecheck.sty"
    Package: rerunfilecheck 2011/04/15 v1.7 Rerun checks for auxiliary files (HO)
    Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
    82.
    )
    \Hy@SectionHShift=\skip43
    )
    ("D:\klingema\Ubuntu VB exchange\latex\test.aux")
    LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 4.
    LaTeX Font Info:    ... okay on input line 4.
    LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 4.
    LaTeX Font Info:    ... okay on input line 4.
    LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 4.
    LaTeX Font Info:    ... okay on input line 4.
    LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 4.
    LaTeX Font Info:    ... okay on input line 4.
    LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 4.
    LaTeX Font Info:    ... okay on input line 4.
    LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 4.
    LaTeX Font Info:    ... okay on input line 4.
    LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 4.
    LaTeX Font Info:    ... okay on input line 4.
    \AtBeginShipoutBox=\box26
    Package hyperref Info: Link coloring OFF on input line 4.
    
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\hyperref\nameref.sty"
    Package: nameref 2010/04/30 v2.40 Cross-referencing by name of section
    
    ("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\gettitlestring.sty"
    Package: gettitlestring 2010/12/03 v1.4 Cleanup title references (HO)
    )
    \c@section@level=\count98
    )
    LaTeX Info: Redefining \ref on input line 4.
    LaTeX Info: Redefining \pageref on input line 4.
    LaTeX Info: Redefining \nameref on input line 4.
    
    ("D:\klingema\Ubuntu VB exchange\latex\test.out")
    ("D:\klingema\Ubuntu VB exchange\latex\test.out")
    \@outlinefile=\write3
    Package atveryend Info: Empty hook `BeforeClearDocument' on input line 7.
     [1
    
    {C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}]
    Package atveryend Info: Empty hook `AfterLastShipout' on input line 7.
     ("D:\klingema\Ubuntu VB exchange\latex\test.aux")
    Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 7.
    Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 7.
    Package rerunfilecheck Info: File `test.out' has not changed.
    (rerunfilecheck)             Checksum: 4483D3B9019EB6E0B1816CA89A550658;41.
     ) 
    Here is how much of TeX's memory you used:
     4068 strings out of 494045
     61217 string characters out of 3145961
     131222 words of memory out of 3000000
     7392 multiletter control sequences out of 15000+200000
     4245 words of font info for 16 fonts, out of 3000000 for 9000
     715 hyphenation exceptions out of 8191
     29i,4n,28p,165b,315s stack positions out of 5000i,500n,10000p,200000b,50000s
    <C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmbx12.pfb>
    <C:/Program Files (x86)/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pfb>
    Output written on test.pdf (1 page, 22102 bytes).
    PDF statistics:
     24 PDF objects out of 1000 (max. 8388607)
     3 named destinations out of 1000 (max. 500000)
     9 words of extra memory for PDF output out of 10000 (max. 10000000)
    

    Thanks for your kind help,
    Kai

     
  • U_Fischer

    U_Fischer - 2012-01-05

    It is really agreable to help someone who actually answers questions and gives
    informations.

    I would say you found a bug. I have no problem on a winXP/32-bit PC, but I
    tried also on Win7/64 bit and there the document with hyperref gives a
    postscript error:

    MiKTeX Problem Report Message: Some PostScript specials could not be
    rendered. Data: Error: /undefined in H.S Operand stack:
       --nostringval--   PermitFileReading   --nostringval--   PermitFileWriting   --nostringval--
    Execution stack:
       %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1914   1   3   %oparray_pop   1913   1   3   %oparray_pop   1897   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
    Dictionary stack:
       --dict:1166/1684(ro)(G)--   --dict:0/20(G)--   --dict:80/200(L)--   --dict:95/300(L)--   --dict:17/200(L)--
    Current allocation mode is local MiKTeX GPL Ghostscript  9.00: Unrecoverable
    error, exit code 1
    
    Source: Libraries\MiKTeX\Dvi\Ghostscript.cpp Line: 372 MiKTeX: 2.9 OS:
    Microsoft Windows 7 Enterprise Edition, 64-bit (build 7600) Invokers:
    explorer/WinEdt SystemAdmin: no PowerUser: no Root0:
    

    But I don't get errors with graphics, only hyperref seems to be a problem, and
    I don't have problems with the fonts. I don't have ghostscript installed on
    the Win7 so I can't check if it would give errors too.

    I would suggest that you make a bug report.

    Ulrike Fischer

     
  • Kai

    Kai - 2012-01-05

    Ulrike,

    again, thanks for your help.
    I just submitted a bug report (id: 3469944).
    Let's wait and see...

    Kai

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks