In the sage notebook there is a problem when wanting to print to pdf or printer. I have "typeset" enabled. An example: 1st cell:
The first cell produces blurry output and the second cell produces much better output. I have read that when using the latex interpreter then sage prints to pdf/dvi (depending on using latex/pdflatex) converts to png and crops the png. And the output of the first cell is obviously an image of poor quality.
What I would like to be able to do, is to write latex code such as sections and formatting, and then print or email the resulting notebook in a normal readable quality.
Any help appreciated.
I'm putting this in a different answer spot because I think you have a different question than I first thought.
What is your use case? Here are two ways to get nice-looking TeX-ish code in the notebook.
I do not know why the
posted Mar 21 '11kcrisman
7437 ● 17 ● 76 ● 166
Thanks for the reply.
I just tried your suggestion using sws2tex, and it has the exact same problem as I described in the notebook.
The evaluated LaTeX code is a blurry image. The example code example from my first post is enough to show the problem.
This problem is to bad, and I hope there is some way to get around it. Sage is very good for doing day 2 day work, but it's not so usefull when it's not possible to print a notebook containing evaluated LaTeX code. The only workaround I have is to not write evaluated LaTeX code in the notebook, but just plain text, and sage code.
posted Mar 21 '11Kabi
100 ● 3 ● 13
Asked: Mar 19 '11
Seen: 396 times
Last updated: Mar 21 '11
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.