Install
$ agentstack add skill-fcakyon-phd-skills-latex-setup ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
LaTeX Environment Setup
You are helping a researcher set up or fix their LaTeX compilation environment. Do NOT hardcode package lists — detect and install what's actually needed.
Step 1: Detect Current State
Before installing anything:
- Check installed TeX distribution:
`` which pdflatex && pdflatex --version which xelatex && xelatex --version which lualatex && lualatex --version ``
- Check bibliography processor:
`` which biber && biber --version which bibtex && bibtex --version ``
- Check package manager:
`` which tlmgr && tlmgr --version ``
Step 2: Analyze the Project
Read the main .tex file to determine requirements:
- Document class:
\documentclass{article},\documentclass{IEEEtran}, etc. - Bibliography system:
\usepackage{biblatex}→ needsbiber\usepackage{natbib}or\bibliographystyle{...}→ needsbibtex
- Required packages: extract from all
\usepackage{...}declarations - Special requirements: TikZ, minted (needs pygments), algorithm2e, etc.
Step 3: Venue Template Detection
If the user mentions a venue, search for the official template:
- Download from the venue's official website (NOT third-party mirrors)
- Check if the template specifies a required TeX distribution or class
- Note any venue-specific compilation instructions
Common venues and their requirements: | Venue | Class | Bib system | Notes | |-------|-------|-----------|-------| | CVPR/ECCV | Custom class file | bibtex | Usually provided in template | | NeurIPS | neurips20XX.sty | natbib + bibtex | Style file changes yearly | | ICLR | iclr20XXconference.sty | natbib + bibtex | OpenReview format | | ACL/EMNLP | acl.cls | bibtex | ACL Anthology format | | IEEE | IEEEtran.cls | bibtex | Column formatting specific | | Springer | llncs.cls | bibtex or biblatex | Depends on series |
Step 4: Install Missing Components
Based on analysis, install only what's missing:
On Ubuntu/Debian
# Base installation (if nothing installed)
sudo apt install texlive-base texlive-latex-recommended
# Common extras
sudo apt install texlive-latex-extra # most \usepackage needs
sudo apt install texlive-fonts-recommended texlive-fonts-extra
sudo apt install texlive-bibtex-extra biber # if biblatex used
sudo apt install texlive-science # algorithm2e, etc.
On macOS
# Full installation (recommended)
brew install --cask mactex
# Minimal
brew install --cask basictex
sudo tlmgr update --self
sudo tlmgr install
Individual packages via tlmgr
# If specific packages are missing
sudo tlmgr install
Step 5: Configure Compilation
Set up the correct compilation pipeline:
For bibtex projects
pdflatex main.tex
bibtex main
pdflatex main.tex
pdflatex main.tex
For biblatex/biber projects
pdflatex main.tex
biber main
pdflatex main.tex
pdflatex main.tex
Common compilation issues
- Missing .bib file: check
\bibliography{...}path is correct - Undefined citations: run bibtex/biber + pdflatex twice
- Missing packages: install via tlmgr, not apt (apt packages are coarse-grained)
- Font errors: install texlive-fonts-extra
- TikZ externalize errors: ensure write18 is enabled
Step 6: Verify Setup
After configuration:
- Run the full compilation pipeline
- Check the PDF opens correctly
- Verify bibliography entries appear
- Check for any remaining warnings in the .log file
Output Format
Produce:
- Current state: what's installed, what's missing
- Project requirements: detected from .tex files
- Installation commands: only what's needed, OS-specific
- Compilation command: the exact pipeline for this project
- Verification: confirm successful compilation
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: fcakyon
- Source: fcakyon/phd-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.