ubuntu 9.04 sage notebook LaTeX does not work : kpdf not availabe

53 views
Skip to first unread message

Frederic

unread,
Sep 4, 2009, 5:59:43 AM9/4/09
to sage-support
Hi,

I compiled Sage 4.1.1 from source yesterday as per the instructions
manual but I was unable to "apt-get install kpdf" as there does not
seem to be a "kpdf" package (anymore ?) in 9.04. "tetex-base" and "tex-
comon" were installed correctly.

However it does not seem possible to LaTeX typeset the output of
evaluations in the notebook which complains that LaTeX does not seem
to be installed.

Which alternative package to "kpdf" should I use and should I
recompile/reconfigure Sage ?

Kind regards,
Frederic

Alex Ghitza

unread,
Sep 4, 2009, 6:03:35 AM9/4/09
to sage-s...@googlegroups.com
On Fri, Sep 4, 2009 at 7:59 PM, Frederic<frederic...@googlemail.com> wrote:
> Which alternative package to "kpdf" should I use and should I
> recompile/reconfigure Sage ?

Hi Frederic,

I regularly use "evince" or "xpdf" to view pdf files in Ubuntu. There
shouldn't be any need for you to recompile Sage.


Best,
Alex


--
Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne
-- Australia -- http://www.ms.unimelb.edu.au/~aghitza/

Message has been deleted

Laurent

unread,
Sep 4, 2009, 6:18:40 AM9/4/09
to sage-s...@googlegroups.com

> The tetex package is obsolete. You should use texlive instead. On
> Ubuntu 9.04, you can install texlive using the Synaptic graphical
> installer. Open Synaptic and search for "texlive".
>
>
>
On Ubuntu 9.04, the package tetex is a dummy package wich installs
texlive => it is much reasonable to bet that the poster has in fact a
texlive on his system.

As far as I know, there is no way to install tetex on Ubuntu 9.04.
> For viewing PDF files, evince and xpdf are good programs.
In the KDE world, kpdf does no more exist. It is replaced by okular.
However, in the real world, evince and xpdf are good viewer.
(Magritte would say that this is not a troll Gnome Vs KDE ;) )

Have a nice day
Laurent

Jan Groenewald

unread,
Sep 4, 2009, 6:40:36 AM9/4/09
to sage-s...@googlegroups.com
Hi

On Fri, Sep 04, 2009 at 02:59:43AM -0700, Frederic wrote:
> I compiled Sage 4.1.1 from source yesterday as per the instructions
> manual but I was unable to "apt-get install kpdf" as there does not
> seem to be a "kpdf" package (anymore ?) in 9.04. "tetex-base" and "tex-
> comon" were installed correctly.
> However it does not seem possible to LaTeX typeset the output of
> evaluations in the notebook which complains that LaTeX does not seem
> to be installed.

tetex-* is being deprecated and replaced by texlive-*
Try

sudo aptitude install texlive-full texmaker

texmaker is a nice light frontend.
File > New > Wizard > Quickstart.
Options > Configure Texmaker > Quickbuild > choose pdflatex+viewpdf

> Which alternative package to "kpdf" should I use and should I
> recompile/reconfigure Sage ?

evince. Do not recompile/reconfigure sage.

regards,
Jan

--
.~.
/V\ Jan Groenewald
/( )\ www.aims.ac.za
^^-^^

Frederic

unread,
Sep 4, 2009, 7:08:13 AM9/4/09
to sage-support
OK. Thanks for the answers ...

Installed texlive (evince was already installed).
the Sage notebook still complained it needed either dvipng or convert.
tried dvipng -> notebook complained it failed (and convert was not
installed)
tried convert (synaptic imagemagick) : this time it worked.

I notice the Installation document still refers to Ubuntu 7.04 (hence
tetex and kpdf) which is not longer maintained by Ubuntu and possibly
it is a good idea to update the documentation it.

Anyways, thanks a lot for the quick and helpful replies.

Kind regards,
Frederic
Message has been deleted

Dylan Thurston

unread,
Sep 6, 2009, 8:45:23 PM9/6/09
to sage-support
On Sep 4, 6:09 am, Minh Nguyen <nguyenmi...@gmail.com> wrote:
> > Which alternative package to "kpdf" should I use and should I
> > recompile/reconfigure Sage ?
>
> For viewing PDF files, evince and xpdf are good programs. However,
> evince can view other types of files besides PDF, e.g. djvu files.
> It's also helpful to install xdvi as well.

I personally find okular superior to any other PDF viewer, principally
for one reason: it's ability to trim margins. Anyway, any of the
above will work.
Reply all
Reply to author
Forward
0 new messages