latex binary and dvips binary

42 views
Skip to first unread message

Mikie

unread,
Dec 14, 2009, 6:04:44 PM12/14/09
to sage-support
Is the latex and dvips binary installed in the Sage directory? If so
where?
Thanx
Message has been deleted

Mikie

unread,
Dec 15, 2009, 11:41:33 AM12/15/09
to sage-support
I need latex binary and dvips binary. My Linux is poor. Where do I
get it and how to install.

On Dec 14, 4:30 pm, Minh Nguyen <nguyenmi...@gmail.com> wrote:
> Hi Mikie,
>
> On Tue, Dec 15, 2009 at 10:04 AM, Mikie <thephantom6...@hotmail.com> wrote:
> > Is the latex and dvips binary installed in the Sage directory?  If so
> > where?
>
> If you're asking whether or not LaTeX is distributed with Sage, the
> answer is no. If you're asking whether or not dvips is distributed
> with Sage, the answer is again no. The README.txt for Sage 4.2.1
> contains this section:
>
>    10. OPTIONAL: It is recommended that you have both LaTeX
>        and the ImageMagick tools (e.g., the "convert" command) installed
>        since some plotting functionality benefits from it.
>
> You don't need to have LaTeX or a LaTeX distribution installed on your
> system in order to install/use Sage. However, if you want to build the
> PDF version of the Sage standard documentation, then you definitely
> need to have LaTeX.
>
> --
> Regards
> Minh Van Nguyen

Jaap Spies

unread,
Dec 15, 2009, 11:52:37 AM12/15/09
to sage-s...@googlegroups.com
Mikie wrote:
> I need latex binary and dvips binary. My Linux is poor. Where do I
> get it and how to install.
>

What OS are you on? Linux, but which distribution?

Jaap

Mikie

unread,
Dec 15, 2009, 12:14:47 PM12/15/09
to sage-support
Centos 5.3 on BlueHost.
Message has been deleted

Mikie

unread,
Dec 15, 2009, 1:03:46 PM12/15/09
to sage-support
I tried yum install textlive and it gave me the following
error--"error accessing file for config file ///etc/yum.conf.
I can't get to the Package Manager. It is on BlueHost.

On Dec 15, 10:18 am, Minh Nguyen <nguyenmi...@gmail.com> wrote:
> Hi Mikie,
>
> On Wed, Dec 16, 2009 at 4:14 AM, Mikie <thephantom6...@hotmail.com> wrote:
> > Centos 5.3 on BlueHost.
>
> You should use the package manager for your operating system. For
> CentOS, Fedora and Red Hat, a package manager to use is "yum". For
> example, you could install LaTeX as follows:
>
> yum install texlive

Jaap Spies

unread,
Dec 15, 2009, 1:25:12 PM12/15/09
to sage-s...@googlegroups.com
Mikie wrote:
> I tried yum install textlive and it gave me the following
> error--"error accessing file for config file ///etc/yum.conf.
> I can't get to the Package Manager. It is on BlueHost.
>

What is "BlueHost"? OK: http://www.bluehost.com/

Maybe you can ask support from this provider?

Cheers,

Jaap

Mikie

unread,
Dec 15, 2009, 2:50:49 PM12/15/09
to sage-support
BlueHost is my webhost. I have talked to support and they won't
install latex binary or dvips binary.

Jaap Spies

unread,
Dec 15, 2009, 3:41:41 PM12/15/09
to sage-s...@googlegroups.com
Mikie wrote:
> BlueHost is my webhost. I have talked to support and they won't
> install latex binary or dvips binary.
>

So you are at the end of the line! Go for a better webhost. Or
install Sage on your own computer.

Good luck!

Jaap

ma...@mendelu.cz

unread,
Dec 16, 2009, 3:42:29 AM12/16/09
to sage-support
I think that there are more options how to install things in Cents. If
yum is broken in your instalation, try some other method.

Do you have root ssh acces? If so, I think that easiest method is to
install texlive http://www.tug.org/texlive/

use wget ... to download, unpack and run install script (in text
mode). Do not install all packages - select only the languages you are
interested in and only the architecture which is suitable for your
server.

I have texlive in /opt/texlive and it is O.K. to move the complete
tree to another computers, add binaries to path and everything works
(provided the architecture is the same). So you may try to install on
your computer with the same architecture, test everything and then
move to the server.

Robert

Dima Pasechnik

unread,
Dec 16, 2009, 7:55:12 AM12/16/09
to sage-support
you can install tex in your home directory.

You would not need root permissions for this
(but make sure you have enough disk space - I imagine such providers
have disk quotas; a reasonable installation of tex can easily take
250Mb or so -- you get get away with much less, but this would require
some work)


2009/12/16 Mikie <thephan...@hotmail.com>:
> --
> To post to this group, send email to sage-s...@googlegroups.com
> To unsubscribe from this group, send email to sage-support...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org
>



--
Dmitrii Pasechnik
-----
DISCLAIMER: Any text following this sentence does not constitute a
part of this message, and was added automatically during transmission.

Mikie

unread,
Dec 16, 2009, 8:39:48 AM12/16/09
to sage-support
I have to do it in my home directory. I have the two files -- tet-
latex 3.0-33.8.el5.ie386.rpm and tet-dvips 3.0-33.8.el5.ie386.rpm.
This for Centos 5.3. Now what do I do.

On Dec 16, 5:55 am, Dima Pasechnik <dimp...@gmail.com> wrote:
> you can install tex in your home directory.
>
> You would not need root permissions for this
> (but make sure you have enough disk space - I imagine such providers
> have disk quotas; a reasonable installation of tex can easily take
> 250Mb or so -- you get get away with much less, but this would require
> some work)
>
> 2009/12/16 Mikie <thephantom6...@hotmail.com>:
>
>
>
>
>
> > BlueHost is my webhost.  I have talked to support and they won't
> > install latex binary or dvips binary.
>
> > On Dec 15, 11:25 am, Jaap Spies <j.sp...@hccnet.nl> wrote:
> >> Mikie wrote:
> >> > I tried yum install textlive and it gave me the following
> >> > error--"error accessing file for config file ///etc/yum.conf.
> >> > I can't get to the Package Manager.  It is on BlueHost.
>
> >> What is "BlueHost"? OK:http://www.bluehost.com/
>
> >> Maybe you can ask support from this provider?
>
> >> Cheers,
>
> >> Jaap
>
> > --
> > To post to this group, send email to sage-s...@googlegroups.com
> > To unsubscribe from this group, send email to sage-support...@googlegroups.com
> > For more options, visit this group athttp://groups.google.com/group/sage-support
> > URL:http://www.sagemath.org
>
> --
> Dmitrii Pasechnik
> -----
> DISCLAIMER: Any text following this sentence does not constitute a
> part of this message, and was added automatically during transmission.- Hide quoted text -
>
> - Show quoted text -

ma...@mendelu.cz

unread,
Dec 17, 2009, 3:33:35 AM12/17/09
to sage-support
I think that rpm cannot be used to install into home directory, since
the install patch is hardwired in the rpm. Ask at the forum specific
to your distribution.

You can also try to install from sources or texlive. I think that both
can be installed to home directory without root priviledges. But you
have to make this installation accessible to all users (or at least
the users which run sage). System wide installation under root
priviledges is better, of course.

Robert

Mikie

unread,
Dec 17, 2009, 1:38:40 PM12/17/09
to sage-support
Robert, great stuff. I am installing now. How long does it take?

> > > - Show quoted text -- Hide quoted text -

Mikie

unread,
Dec 17, 2009, 4:09:50 PM12/17/09
to sage-support
It took about hour and a half. The fonts are a little fuzzy. Is
there anyway to fix this?

Dima Pasechnik

unread,
Dec 18, 2009, 3:42:57 AM12/18/09
to sage-support
Are you talking about the postscript files produced by dvips?
You probably only installed a small subset of fonts, and scaling them
produces substandard results. It can also be that dvips is set up to
create 300 DPI (dots per inch) docs - this is easy to fix then (but
depends upon a particular setup).
You can try using -D option of dvips (with value 600, say)
HTH,
Dmitrii

2009/12/18 Mikie <thephan...@hotmail.com>:

> For more options, visit this group at http://groups.google.com/group/sage-support

ma...@mendelu.cz

unread,
Dec 18, 2009, 4:22:57 AM12/18/09
to sage-support
I think that better is to use scalable fonts. this should be default
in modern distribution. What exactly you have installed? texlive? from
where, from texlive homepage or from centos repository?

Try to compile you ps into PDF (using ps2pdf), open PDF document, go
to the document - properties and you should see the fonts used in the
PDf file. Check that there are only scalable fonts. There shoud be no
Type3 font!

Or put the ps or pdf file somewhere and post link.

Robert

On 18 pro, 09:42, Dima Pasechnik <dimp...@gmail.com> wrote:
> Are you talking about the postscript files produced by dvips?
> You probably only installed a small subset of fonts, and scaling them
> produces substandard results. It can also be that dvips is set up to
> create 300 DPI (dots per inch) docs - this is easy to fix then (but
> depends upon a particular setup).
> You can try using -D option of dvips (with value 600, say)
> HTH,
> Dmitrii
>

> 2009/12/18 Mikie <thephantom6...@hotmail.com>:

Mikie

unread,
Dec 18, 2009, 1:11:21 PM12/18/09
to sage-support
I am using the latex in Moodle and I had Moodle's latex filter turned
on. I removed it and the fonts are great. Before it was creating an
image.
Reply all
Reply to author
Forward
0 new messages