georgedavila/cog-easytex ✓📝 → 🖼️
About
Cog to turn minimally-formatted plaintext into pdfs (using tex on the backend)
Example Output
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
- Use a title?
- bodyInput
- Text
- dateInput
- Date
- nameInput
- Name
- titleInput
- Title
- separateTitlePage
- Separate the title page?
Output Schema
Output
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