Viewing TeX files

Discussion in 'Mac Programming' started by DaveN, Oct 23, 2010.

  1. macrumors 6502

    Joined:
    May 1, 2010
    #1
    I downloaded some source code that has some of its documentation in TeX files and can't seem to find a good viewer for such files. I've tried OS X's TextEdit and that is ok but you have to sort through the formatting tags. I've tried BBEdit and that is better as many of the sections are delimited so it is easier but you are still stuck viewing the formatting tags and the images are still included by reference pointing to a sub-folder.

    Can someone recommend a good TeX file viewer? I searched and must be missing the obvious.

    TIA

    Dave
     
  2. macrumors regular

    Joined:
    Aug 5, 2007
    #2
  3. macrumors 6502

    kmaute

    Joined:
    Oct 5, 2008
    Location:
    USA
    #3
    You need to actually typeset the document to see it as it's supposed to be. It's very strange that they would only give you the .tex files but I guess it's possible. The links above might help, I'm unfamiliar. I use MacTeX but it's a couple Gb to just do this. If you want, attach a ZIP file with the .tex files and associated folders with content. I'll typeset it myself and post a pdf. Good luck.
     
  4. thread starter macrumors 6502

    Joined:
    May 1, 2010
    #4
    lyx looked promising so I installed it. I thought I'd try to see if it would work without the TeX download but no such luck so I downloaded the 1+ GB (took a while over my DSL line) MacTeX and re-ran the LyX installer script. It recognized the MacTeX installation but no luck.

    That said, the files now open in some of the programs that came with MacTeX but they are editors and nothing to generate a decent preview. The one file I tried in LaTeXit had errors when I tried to LaTeX it.

    Kufford, the files are about 10 megs when zipped and may have errors. Do you still want to try?
     
  5. macrumors 6502a

    Joined:
    Jun 8, 2005
    Location:
    West-Europe
    #5
    TeXShop

    Or just typeset with latex or pdflatex on the command line.
     
  6. macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
    #6
    Not with a TeX editor. I like TeXShop or emacs.
     
  7. macrumors member

    Joined:
    Jan 31, 2006
  8. macrumors 6502

    kmaute

    Joined:
    Oct 5, 2008
    Location:
    USA
    #8
    Yeah, not sure about that. See the upper lefthand corner ofTeXShop? Typeset?

    OP: You can post it here, if it will letyou. Or email it to me at kufford (at) me.com.

    Thanks...
     
  9. thread starter macrumors 6502

    Joined:
    May 1, 2010
    #9
    Each has their preference. For me, Smultron makes a good reader (the tex files still show the format commands but the coloring makes it easy to read through them). Thanks for the tips.
     

Share This Page