kcrisman wrote:
> Dear Support,
>
> I don't believe that turning a notebook worksheet into a pdf is
> implemented (and thanks to Dan D. for SageTeX, which unfortunately I
> haven't been able to use properly yet, and Rob B. for his interesting
> experiments the other way). And that's fine, though it would be great
> long-term.
>
> My question is more specific: I now have a lot of worksheets with a
> weird mix of HTML and LaTeX markup, thanks to TinyMCE, and although my
> students can upload them to our server and everything, it would be
> nice for them to be able to read these offline (most don't and won't
> have Sage installed).
>
> However, that means that sometimes <i></i> is making my italics, and
> other times $$ or \emph{} is doing that (as just one example of a
> problem) - not to mention headers and links and things that don't
> really work in TeX. Does anyone have an idea for how to take the text
> out of Edit mode, stick it in a .tex file, and let that compile
> without too much effort? Assume for now that I would either use
> SageTeX or just hand-fix the Sage code lines so that they would fit in
> whatever solution I use. I suspect this is just wishful thinking (or
> being a real pro with a text editor), but figured I should ask.
>
There are various programs that convert HTML to Latex. It sounds like
that would work for you. In particular, you might look for programs
that use XSLT transformations, for example.
Jason
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---