Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Page 1 of 2 12 LastLast
Results 1 to 8 of 9

Thread: latex to pdf

  1. #1
    couzteau's Avatar
    couzteau is offline Registered User
    Join Date
    Nov 2001
    Location
    germany
    Posts
    102
    Thanks
    0
    Thanked 0 Times in 0 Posts

    latex to pdf

    i use tetex and texshop. everything was installed without any problems and according to the documentation. almost evereything works fine but

    the pdf that latex creates looks terrible on the screen.

    it's hardly readable. it seems as if a font was missing, even thought latex does not complain about not finding the fonts. I'm trying to latex manuals that come from solaris unix computers? this problem is persists no matter which pdf-viewer i use (ie acrobat reader, preview, texshop). other pdf-documents (ie downloaded manuals, those that come with acrobat) look fine.

    what's the problem? who knows how to fix it?

    many thanx in advance

    couzteau

    pbg4/400, 500mbram, osx 10.1.2, texshop 1.13c, tetex-macosx-20010808-2

    start of latex output:
    This is pdfTeX, Version 3.14159-1.00a-pretest-20010806 (Web2C 7.3.3.1)
    (./manual.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg}
    LaTeX2e <2001/06/01>
    Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, s
    panish, nohyphenation, loaded.
    (/usr/local/teTeX/share/texmf/tex/latex/base/article.cls
    Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
    (/usr/local/teTeX/share/texmf/tex/latex/base/size10.clo))
    (/usr/local/teTeX/share/texmf/tex/latex/base/inputenc.sty
    (/usr/local/teTeX/share/texmf/tex/latex/base/latin1.def))
    (/usr/local/teTeX/share/texmf/tex/latex/base/fontenc.sty
    (/usr/local/teTeX/share/texmf/tex/latex/base/t1enc.def)) (./manual.aux)
    (/usr/local/teTeX/share/texmf/tex/latex/base/t1cmtt.fd) [1{/usr/local/teTeX/sha
    re/texmf/dvips/config/pdftex.map}{/usr/local/teTeX/share/texmf.os/dvips/config/
    Ttbbold.map}{/usr/local/teTeX/share/texmf.os/dvips/config/wolfram.map}]
    (/usr/local/teTeX/share/texmf/tex/latex/base/omscmr.fd) [2] [3] [4] [5]
    [6]
    ....

  2. #2
    noordkmp is offline Registered User
    Join Date
    Oct 2001
    Location
    Utrecht, the Netherlands
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Okay, what about the rest? I'm interested in those three little dots you put there... Let's see the complete .log file!
    Why don't you post the .tex file you were processing? I'll pdfTeX it as well, and we'll compare the .log files.

  3. #3
    couzteau's Avatar
    couzteau is offline Registered User
    Join Date
    Nov 2001
    Location
    germany
    Posts
    102
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok, one second.

  4. #4
    couzteau's Avatar
    couzteau is offline Registered User
    Join Date
    Nov 2001
    Location
    germany
    Posts
    102
    Thanks
    0
    Thanked 0 Times in 0 Posts
    here it comes:

    the tex document. i've shortened it but it still has the same problems.

    i'll put the logfile in the next post:
    \documentclass[a4paper]{article}
    \usepackage[latin1]{inputenc}
    \usepackage[T1]{fontenc}

    \setlength{\parindent}{0em}
    \setlength{\parskip}{1.5ex plus0.5ex minus0.5ex}

    \begin{document}

    % --------------------------------------------------------------------------
    \title{ACL manual}
    \author{Ingo Schrąder et al.}
    \maketitle

    % --------------------------------------------------------------------------
    \section{Goal of this document}

    This is the reference manual for the ACL library for the C programming
    language. ACL stands for A Container Library --- admttedly a poorly
    chosen name. It provides a set of abstract container data types.

    The ACL library is copyright The DAWAI Team; it is distributed under
    the GNU General Publice License Version~2. You should have received a
    copy of the GPL with the software.

    The maintainers of this software can be contacted at the following
    email address:
    \verb|acllib@nats.informatik.uni-hamburg.de|.

    % WWW address?

    % --------------------------------------------------------------------------
    \section{Usage}

    The ACL library is installed as both shared and static versions of the
    library by default. In order to use it your C code must include the
    header file \verb|acl.h|.

    For instance, if you installed the header file in a system directory,
    a minimal C program might look as follows:

    \begin{small}
    \begin{verbatim}
    #include <stdio.h>
    #include <acl.h>

    int main(int argc, char **argv)
    {
    List squares=listNew();
    int i;

    for (i=0; i<100; i++)
    {
    squares=listPrependItem(squares, (Pointer)(i*i));
    }
    printf("42th square is %d\n", (int)listNth(squares, 42));
    listFree(squares);
    }
    \end{verbatim}
    \end{small}

    You have to link against the ACL library as well as the math library
    to create a binary:

    \begin{small}\begin{verbatim}
    $ gcc -o acl-example -lacl -lm acl-example.c
    $ ./acl-example
    42th square is 3364
    $
    \end{verbatim}\end{small}
    %$

    % --------------------------------------------------------------------------
    \end{document}

  5. #5
    couzteau's Avatar
    couzteau is offline Registered User
    Join Date
    Nov 2001
    Location
    germany
    Posts
    102
    Thanks
    0
    Thanked 0 Times in 0 Posts
    her the complete log:
    This is pdfTeX, Version 3.14159-1.00a-pretest-20010806 (Web2C 7.3.3.1)
    (./test.tex{/usr/local/teTeX/share/texmf.local/pdftex/config/pdftex.cfg}
    LaTeX2e <2001/06/01>
    Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, s
    panish, nohyphenation, loaded.
    (/usr/local/teTeX/share/texmf/tex/latex/base/article.cls
    Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
    (/usr/local/teTeX/share/texmf/tex/latex/base/size10.clo))
    (/usr/local/teTeX/share/texmf/tex/latex/base/inputenc.sty
    (/usr/local/teTeX/share/texmf/tex/latex/base/latin1.def))
    (/usr/local/teTeX/share/texmf/tex/latex/base/fontenc.sty
    (/usr/local/teTeX/share/texmf/tex/latex/base/t1enc.def)) (./test.aux)
    (/usr/local/teTeX/share/texmf/tex/latex/base/t1cmtt.fd) [1{/usr/local/teTeX/sha
    re/texmf/dvips/config/pdftex.map}{/usr/local/teTeX/share/texmf.os/dvips/config/
    Ttbbold.map}{/usr/local/teTeX/share/texmf.os/dvips/config/wolfram.map}]
    [2] (./test.aux) ) </var/tmp/texfonts/pk/ljfour/jknappen/ec/ectt0900.600pk> </v
    ar/tmp/texfonts/pk/ljfour/jknappen/ec/ectt1000.600pk> </var/tmp/texfonts/pk/ljf
    our/jknappen/ec/ecrm1000.600pk> </var/tmp/texfonts/pk/ljfour/jknappen/ec/ecbx14
    40.600pk> </var/tmp/texfonts/pk/ljfour/jknappen/ec/ecrm1200.600pk> </var/tmp/te
    xfonts/pk/ljfour/jknappen/ec/ecrm1728.600pk>
    Output written on test.pdf (2 pages, 57640 bytes).
    Transcript written on test.log.

  6. #6
    couzteau's Avatar
    couzteau is offline Registered User
    Join Date
    Nov 2001
    Location
    germany
    Posts
    102
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i just saw that i can attach documents. that should be easier. here are the attachments:

    no, the site doesn't allow me to upload tex files, may be the log? no it doesn't seem to work.

    let me know if you have the same problem and if you know a soultion

    thanx

    couzteau

  7. #7
    noordkmp is offline Registered User
    Join Date
    Oct 2001
    Location
    Utrecht, the Netherlands
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    It's the ec-fonts

    I think I found it. When I TeXed your source I noticed metafont had to make pk-files for every single font used. That's of course because you ask for this non-standard encoding in the second and the third line. This forces TeX to use the ec fonts, and to rasterize them from their metafont sources. If you omit those lines, comment them out for instance, you allow TeX to use the usual cm fonts, and those come in postscript format, thanks to BlueSky, so those are anti-aliased at any size, whereas the ec fonts are rasterized at 600 dpi but don't look nice on the screen. If you print them they'll probably look al lot better.
    Solution/workaround 1: omit the second and the third line. I'm not a TeX-guru, so I don't know what else will change. Perhaps some glyphs will fail to show up or something.
    Solution 2: print your pdf on a 600 dpi printer.

    Hope this helps.

  8. #8
    couzteau's Avatar
    couzteau is offline Registered User
    Join Date
    Nov 2001
    Location
    germany
    Posts
    102
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    cooooool. this works.

    i havn't really checked if any unwanted sideeffects occur but it looks fine.

    thanx. you definitely seem to be on the verge of being a texguru.

    this actually the first time i really use latex on os x. since i never saw it any different i was believing this was due to something rare and hidden deep in the implemetation of darwin, but hell no, i'm happy.

    cheers.


    couzteau

    ps: you were right. the pdf was printing fine, but most of the time i read these documents on the screen.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Quark 6 - Export as PDF Problem
    By JML in forum Mac OS X System & Mac Software
    Replies: 5
    Last Post: July 29th, 2003, 07:35 PM
  2. PDF printing
    By andrewhicks in forum Mac OS X System & Mac Software
    Replies: 1
    Last Post: June 17th, 2003, 03:02 PM
  3. Printing to PDF Question
    By chemistry_geek in forum Mac OS X System & Mac Software
    Replies: 2
    Last Post: June 2nd, 2002, 07:57 AM
  4. PDF Question
    By chemistry_geek in forum Mac OS X System & Mac Software
    Replies: 2
    Last Post: April 20th, 2002, 07:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •