Make an accessible web page
make_web_pageA LaTeX project in. One web page out from the same reading as the PDF: its HTML, formulas in MathML, and its figures. 4 cents a page from the key's credit. Up to 24 MB for the project. A project that cannot be built costs nothing; the answer gives the file and line.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "make_web_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| main | No | The path of the main .tex file. Needed only when the project has more than one. | |
| files | No | The project's text files by their path inside the project, each file's whole text: the .tex files, and any .bib, .bbl, .sty, .cls or .tikz of your own. Example: {"main.tex": "\\documentclass{article}...", "chapters/one.tex": "..."}. | |
| archive | No | Instead of files: the whole project as one .zip or .tar.gz, base64-encoded. | |
| binary_files | No | Figures and other binary files by path, each base64-encoded. PNG and JPEG are placed as they are; a PDF, EPS or SVG figure is answered with its name, to be saved as a PNG. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Pages of the PDF the project makes: what is billed. | |
| cost_cents | No | What this call cost. | |
| credit_cents | No | The credit left on the key's account. |