georgedavila/cog-easytex ✓📝 → 🖼️

▶️ 144 runs 📅 May 2024 ⚙️ Cog 0.13.6 🔗 GitHub ⚖️ License
document-generation latex latex-typesetting text-to-pdf

About

Cog to turn minimally-formatted plaintext into pdfs (using tex on the backend)

Example Output

Output

Example output

Performance Metrics

2.31s Prediction Time
138.43s Total Time
All Input Parameters
{
  "useTitle": true,
  "bodyInput": "#SECTION A \n Hello \n #SUBSECTION B \n Lorem ipsum...",
  "dateInput": "May 8th, 2024",
  "nameInput": "George",
  "titleInput": "Report",
  "separateTitlePage": false
}
Input Parameters
useTitle Type: booleanDefault: true
Use a title?
bodyInput Type: stringDefault: #SECTION A Hello #SUBSECTION B Lorem ipsum...
Text
dateInput Type: stringDefault: May 8th, 2024
Date
nameInput Type: stringDefault: George
Name
titleInput Type: stringDefault: Report
Title
separateTitlePage Type: booleanDefault: false
Separate the title page?
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
['#SECTION A ', ' Hello ', ' #SUBSECTION B ', ' Lorem ipsum...']
from pylatex import Document, Section, Subsection, Subsubsection, Command
from pylatex.utils import italic, NoEscape
from pylatex.section import Chapter, Paragraph, Subparagraph
def fill_document(doc):
with doc.create(Section("A ")):
doc.append( NoEscape(" Hello ") )
with doc.create(Subsection("B ")):
doc.append( NoEscape(" Lorem ipsum...") )
Version Details
Version ID
52737d54cbcbe448b2c732c53d5f3caba91c2143b4325f736d00dd2c679a5b9d
Version Created
June 6, 2025
Run on Replicate →