Tagged Questions

Questions related to the use of Mathematica for creating or manipulating HTML documents.

learn more… | top users | synonyms

2
votes
2answers
50 views

ExportString and HTML: where are saved images?

I want to use ExportString to generate HTML expression. Here is an easy example: ExportString[x^3, "HTML", "FullDocument" -> False] gives ...
1
vote
1answer
36 views

How to programattically create a hyperlink to a local html file? [closed]

I want to cause a button to open a local html file using the default web browser. When I use: Hyperlink["Play","myfile.html"] Clicking on the link opens the html ...
3
votes
1answer
126 views

Integrating Mathematica in Blackboard

I teach Economics at University. I often use Mathematica to generate interactive diagrams with demand and supply curves. We also use Blackboard (blackboard.com) to manage our subjects, including ...
1
vote
0answers
27 views

Is equation numbering in exported HTML considered deprecated for built in stylesheets?

So I've been tinkering around with the built in stylesheets and the Export command and I've noticed that in principle equation numbering should work. When you look ...
9
votes
1answer
244 views

Wikipedia People only search

I am trying to search people from Wikipedia(For example .*John.* in REGEX). The following query is close, but it isn't generalized like ...
1
vote
0answers
82 views

Import LaTeX from Wikipedia to Mathematica [duplicate]

Here is one a problem I land on from time to time. Sometimes while researching, I want to pull a formula presented in a Wikipedia page and import it into Mathematica. I've heard that Wikipedia uses ...
4
votes
2answers
157 views

HTMLEncode a string for webMathematica

Is there a native Mathematica way to convert a string like "<select></select>" into ...
2
votes
1answer
68 views

Export notebook to HTML produces low resolution GIF

I have equations written in my notebooks as text (the cells set as Format -> Style -> Text). When exporting the notebook to HTML (File -> Save As.. -> HTML) with the GIF option (the default) an HTML ...
0
votes
1answer
91 views

How to parse a .css file generated by Mathematica? modify values, add some values

How to parse a .css file generated by Mathematica (Export notebook to HTML)? modify values, add some values. convert into a expression? Are there some instances? I've wrote a simple function to ...
2
votes
0answers
33 views

The value of PageWidth doesn't work for saving as HTML?

CellPrint@Cell["Test","Text",PageWidth->300,Background->Red] And I got this snippet of HTML code: ...
1
vote
0answers
57 views

How can I control the size of exported image in HTML code under certain magnification value?

I've inserted a picture in one cell, however, when I exported the cell as HTML, the size of my image in the html tag was doubled(the image file in HTMLFiles was the same as the original image). I ...
2
votes
1answer
100 views

Open an html saved notebook

I have found an html page clearly created using the Save as HTML option of Mathematica. Is ...
9
votes
1answer
230 views

Parse website data that requires interaction with a form (POST)

I want to analyse Chilean elections data available in the official website. What I have returns the data for president (numbers are strings, to be parsed later). ...
3
votes
1answer
354 views

CDF embedding in HTML

I created a working CDF file on my Mac, and I am trying to embed it into an html page, and although I followed all the steps suggested on the mathematica web embedding page, it is not working (I ...
7
votes
1answer
126 views

Problem with exporting nested Rows/Columns to HTML

I will show the problem on the following MWE: Export["test.html", Column[{ Row[{"test", "1"}] }], "HTML", "CSS" -> None] ...
2
votes
1answer
224 views

Change values in string under condition

how to change the width and height in the HTML code into some other values decided by ratio and a fixed width? The background is that you can adjust a image in ...
2
votes
0answers
25 views

How can I export a html source string as a html file? [duplicate]

A little question. Consider one html source string, Export["test.html", htmlsource] Then I get one html file with a whole image of the source. ...
4
votes
1answer
114 views

“Save as (html)” and still render Input cell code as text?

When I' m testing on this post' s method I found some problems. ...
1
vote
2answers
109 views

Why I cannot use the option “MathOutput”?

I'm on Windows 8.1 with Mathematica 9. ...
4
votes
1answer
113 views

Image Tooltip exported to HTML

Graphics@Tooltip[Hyperlink[{Purple, Rectangle[{0, 0}]}, "http://www.wolfram.com"], Graphics[Disk[]]] Is it possible to make image tooltip kept in the html?
4
votes
0answers
95 views

How to export to .html .nb file together with links «in» and «out»

If use «File > Save As > HTML» lines «in» and «out» are lost To save a document without loss of these lines/links?
2
votes
2answers
395 views

Combine multiple notebook files into a pdf/rtf/word/etc file?

It's the end of the semester and I have a prof who wants me to turn in a printout of the nb files ive worked on. I have 33 separate files, and I was wondering if there was any easy way I could combine ...
2
votes
1answer
194 views

Exporting HTML code to file.html

I've got a problem with re-saving html code. Lets create html file: ...
4
votes
1answer
344 views

Extracting text from nested HTML lists <ul> <li>

We wish to analyze the tree structure of HTML documents that consist of nested lists, ie, using the HTML tags <ul> and ...
3
votes
0answers
62 views

How to generate absolute Directories in HTML

...
11
votes
1answer
329 views

Dynamic visualization of Graph[] on a webpage

How can we embed a dynamic version of a Graph object on a web page, similar to the one showcased on the networkx home page? This sort of dynamic visualization can ...
3
votes
1answer
253 views

Color lost when saving Mathematica cell as HTML

Question 1(Color Lost Question[Solved by using Item]): When I evaluate the cell generated by ...
1
vote
1answer
482 views

Importing formatted, highlighted text from : HTML vs RTF vs. XML

We would like the ability to import and analyze ASCII documents that have been manually segmented by highlighting and changing font colors of various sections, eg: The original line breaks, ...
0
votes
1answer
114 views

Move selection to next Output and export to CDF

In my quest to a custom "Save as HTML" (please see context here) I am now able to iterate through the notebook, grab Input cells decorated with a CellTag that, by convention, is going to be a file ...
3
votes
1answer
130 views

How to grab CellTags from a Cell?

I am in the process of creating a palette for a specialised "Save as HTML". For context please see this. How can I grab the CellTags from a Cell[...] object? This is my first iteration, aka testing ...
4
votes
0answers
217 views

Notebook manipulation to “Save as (HTML)”

In a previous question, I said that I wanted to display code as text in "Save as (HTML)". I am closer, but would like to ask the community for a better approach by telling the whole picture. I did my ...
10
votes
1answer
552 views

Send HTML tables with SendMail

I'm trying to send some HTML table using Mathematica SendMail function. To do it I wrote this function: ...
4
votes
2answers
298 views

How to save a web page in mathematica?

For a given web page http://www.nytimes.com/, is it possible to save it as : first: only HTML(within css) second: more elements(include pictures and so on) just like what a browser can do. ...
1
vote
0answers
86 views

Exporting CellFrameLabels to HTML

I have a notebook that has several cells with CellFrameLabels and I'd like to export the notebook to HTML. However, the CellFrameLabels are lost during export. Here's an example of what I'm working ...
8
votes
1answer
376 views

How can I use “Save as (html)” and still render code as text?

I use notebook "Save as ... (html)" to convert my .nb to web. Formulas and plots get converted to images, which is fine. But code (input cells) get converted too into images. I would like people to be ...
19
votes
3answers
1k views

Download xkcd Click and Drag comic

Inspired by the recent question about xkcd styled plots I started looking at xkcd again and I came across a comic titled Click and Drag. And if you do that, you start exploring a larger drawing. A ...
0
votes
1answer
108 views

Importing RSS to Notebook: How to get images instead of long ugly links?

This question on importing news headlines via a RSS feed reminded me of an old question I've been meaning to ask. Past attempts at finding a use for Mathematica's RSS to Notebook capabilities were ...
11
votes
1answer
594 views

Exporting numbered equations to HTML/TeX using conversion rules

This question is a follow up from this one. It may also be considered a duplicate since I have already asked this question in stackoverflow almost a year ago. For a background on using numbered ...
5
votes
1answer
361 views

Trouble with CDF on Mac OSX

My problem seems to be very strange. I've created a CDF file and am trying to upload it to a Google site, and I've been almost completely successful! My only problem is that I cannot correctly ...
4
votes
2answers
766 views

Exporting a CDF to HTML

I'm using Mathematica for Students on a Mac. How do I export a CDF document to HTML? According to the Wolfram website I should click on ...
13
votes
3answers
834 views

How to scrape the headlines from New York Times and Wall Street Journal?

How to scrape headlines from New York Times, Wall Street Journal main pages to create datasets similar to this service? Importing HTML from nyt.com (HTML4) results in a ...
35
votes
1answer
1k views

Google Map in Notebooks?

Using Mark McClure's GPXToGoogleMap results in a HTML and Javascript code which can be viewed by any browser. Is it possible to load this map into the notebook, which obviously means for example that ...
10
votes
1answer
282 views

How to work around incorrect tooltips in plots exported to HTML

This is an issue that I always wanted to investigate but haven't gotten around to solving yet: The tooltips for contour lines in a plot like this can be very useful in the Notebook interface: ...
3
votes
2answers
185 views

Cleaning up a List of HTML Data to Render Usable Information

I am using Mathematica to scrape information from webpages. To get file information, I am gathering plain text that is enclosed by <tr> and ...