# US 2020/0394359 A1 · Systems and Methods for Document Publishing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0394359 A1
- Document ID: US20200394359A1
- Status: Published application
- Kind: A1
- Application number: 16/900,247
- Filed: 2020-06-12
- Published: 2020-12-17
- Earliest claimed: 2019-06-14
- Assignees: Mathresources Incorporated
- Applicants: Mathresources Incorporated
- Inventors: Ronald Fitzgerald; Chris Malloy; Jonathan Kenney; David Robinson; Erin VanSlyke
- Web page: https://patentgrep.com/patent/US20200394359A1

## CPC

- G06F 40/186: Templates
- G06F 40/14: Tree-structured documents (parsing G06F40/205; validation G06F40/226)
- G06F 40/151: Transformation
- G06F 40/111: Mathematical or scientific formatting; Subscripts; Superscripts
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods and systems for publishing text files containing mathematical expressions to a web-ready file are disclosed. The web-ready file may be used for generating a web application, creating an offline file, etc. Template documents are received as text files having a template structure comprising a plurality of identifier fields and content fields, each content field associated with a respective identifier field, and data in at least one content field comprises a mathematical expression. The mathematical expression is converted to a first web language format within the template document. The template document is exported to a second web language format. The web-ready file is generated from the exported file by assembling contents of the exported file in accordance with the plurality of content fields and associated respective identifier fields defined in the template document.

## Claims

### Claim 1

A method of publishing text files containing mathematical expressions to a web-ready file, comprising:
receiving a template document as a text file having a template structure comprising a plurality of identifier fields and content fields, each of the content fields being associated with a respective of the plurality of identifier fields, wherein the content fields are authored with data, and the data in at least one content field comprises a mathematical expression;
converting the mathematical expression to a first web language format within the template document;
exporting the template document to a second web language format to generate an exported file; and
generating the web-ready file from the exported file by assembling contents of the exported file in accordance with the plurality of content fields and associated respective identifier fields defined in the template document.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining whether a format of the mathematical expression is compatible for converting to the first web language format, and if the format of the mathematical expression is not compatible, modifying the format of the mathematical expression to a format compatible for converting to the first web language format.

### Claim 3 (depends on 1)

The method of claim 1, further comprising unencoding the mathematical expression in the first web language format from the second web language format in the exported file.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first web language format is MathML.

### Claim 5 (depends on 1)

The method of claim 1, wherein the second web language format is HTML.

### Claim 6 (depends on 1)

The method of claim 1, wherein the web-ready file is generated in a third web language format, and the contents of the exported file are embedded within the third web language format.

### Claim 7 (depends on 6)

The method of claim 6, wherein the third web language format is any of JSON, XML, and SQL inserts.

### Claim 8 (depends on 6)

The method of claim 6, wherein generating the web-ready file in the third web language format comprises:
generating a plurality of content snippets from the contents of the exported file, the plurality of content snippets corresponding to the content fields of the template document; and
embedding, in the third web language format, the plurality of content snippets to generate the web-ready file in accordance with the respective identifier fields.

### Claim 9 (depends on 8)

The method of claim 8, wherein generating the web-ready file in the third web language format further comprises:
saving the plurality of content snippets in non-volatile storage based on the respective identifier fields associated with the corresponding content fields; or
buffering the plurality of content snippets in memory.

### Claim 10 (depends on 6)

The method of claim 6, wherein the plurality of identifier fields are defined according to the third web language format.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
creating a table of contents using a subset of the plurality of identifier fields or content fields; and
including the table of contents in the web-ready file.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
processing the contents of the exported file to check each content field for errors; and
if there is an error in the contents of the exported file, outputting a warning.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
processing the contents of the exported file to check each content field for image references; and
adding images corresponding to the image references to the web-ready file.

### Claim 14 (depends on 1)

The method of claim 1, further comprising one or more of:
generating a new web application using the web-ready file;
modifying an existing web application using the web-ready file; and
creating an offline file from the web-ready file.

### Claim 15 (depends on 1)

The method of claim 1, wherein the template document is received through a web portal from a user.

### Claim 16 (depends on 1)

The method of claim 1, wherein the template structure is uniquely defined for a desired output of the web-ready file.

### Claim 17 (depends on 1)

The method of claim 1, wherein the template structure is one of a plurality of template structures that are pre-defined for standardized outputs of web-ready files.

### Claim 18

A document publishing system for publishing text files containing mathematical expressions to a web-ready file, comprising:
a publishing server, configured to:
receive a template document as a text file having a template structure comprising a plurality of identifier fields and content fields, each of the content fields being associated with a respective of the plurality of identifier fields, wherein the content fields are authored with data, and the data in at least one content field comprises a mathematical expression; and
one or more computer processing devices, configured to:
convert the mathematical expression to a first web language format within the template document;
export the template document to a second web language format to generate an exported file; and
generate the web-ready file from the exported file by assembling contents of the exported file in accordance with the plurality of content fields and associated respective identifier fields defined in the template document.

### Claim 19 (depends on 18)

The system of claim 18, wherein the publishing server is further configured to:
task a target computer of the one or more computer processing devices to perform one or more of: converting the mathematical expression, exporting the template document, and generating the web-ready file; or
add one or more of the template document, the exported file, and the web-ready file to a message queue that the one or more computer processing devices are listening to.

### Claim 20 (depends on 18)

The system of claim 18, further comprising a web front end providing a web portal through which the template document is received.

### Claim 21 (depends on 18)

The system of claim 18, further comprising:
a storage repository storing and timestamping one or more of the template document, the exported file, and the web-ready file.
