Tutorial 6: CV workflows
This tutorial covers adsfolio cv: initialize a config, generate publication lists, and select output styles.
0) Start with --help
adsfolio cv --help
adsfolio cv init --help
adsfolio cv generate --help
adsfolio cv show-styles --help
Core commands:
Command |
Purpose |
|---|---|
|
Create a starter |
|
Query ADS and render output from |
|
Print compact examples for supported styles |
Key init options:
Option |
Meaning |
|---|---|
|
Path for starter config (default: |
|
Overwrite output file if it already exists |
|
Do not auto-use ORCID from |
Key generate options:
Option |
Meaning |
|---|---|
|
Path to YAML config (default: |
|
Override output path |
|
Override configured output format |
|
Override configured style |
|
Override author formatting ( |
|
Print output to stdout instead of writing file |
1) Create starter config
Run interactive setup:
adsfolio cv init
cv init uses your saved adsfolio set profile as defaults:
ORCID (
orcid) and ORCID usage (use_orcid)optional publication window (
debut_year/retire_year)saved query names for default query/prefix hints
If an ORCID exists in your adsfolio set profile, cv init enables ORCID matching by default.
To disable this behavior:
adsfolio cv init --no-orcid
cv init writes cv.yaml with:
ADS query + author identity settings
output format and style
marker categories (for highlighted bibcodes)
status overrides (for accepted/submitted preprints)
output path + LaTeX list settings
Write to a different path:
adsfolio cv init --output configs/my-cv.yaml
Overwrite an existing config:
adsfolio cv init --force
2) Minimal cv.yaml example
author:
query: 'author:"doe, jane" year:2010-'
orcid: "0000-0002-1825-0097"
use_orcid: true
debut_year: 2010
retire_year: null
exclude_bibstems:
- zndo
- yCat
- EPSC
- cosp
- AGUFM
- BKAS
- LPICo
- IAUFM
- AAS
first_author_prefix: "doe, j"
me_target: "Doe, J."
me_display: "Jane Doe"
format:
output: latex
style: compact
n_max_authors: 5
n_min_authors: 3
n_me: 6
author_sep: "; "
me_fmt: "\\textbf{{\\color{{black}}{{{}}}}}"
author_format: "cv_default"
markers:
highlight:
symbol: "\\textbf{\\color{myblue} \\small \\ddagger}"
description: "Selected publications"
bibcodes:
- "2024A&A...684A..80B"
- "2024A&A...684A..81B"
student:
symbol: "*"
description: "Student-led publications"
bibcodes: []
status:
"2025arXiv251207318L": "ACCEPTED by \\textbf{ApJL}"
output:
dir: "."
filename: "publ.tex"
journal_legend: true
latex:
list_env: "itemize"
left_margin: "-14em"
item_sep: "6pt"
Author settings:
You must set
author.query.author.use_orcid: trueplusauthor.orcidmakes query execution ORCID-first.
Supported values:
output.latex.list_envsupportsitemizeorenumerate.format.stylesupportscompact,detailed, andbibcode-first.format.author_formatsupportscv_defaultandads_custom:<format>.
Rendering rules:
If a publication has
NOT REFEREEDand is not arXiv,adsfolio cvmarks it as non-peer-reviewed.me_fmtuses Python.format(): keep doubled braces for literal LaTeX braces.
3) Generate output
From config defaults:
adsfolio cv generate --config cv.yaml
Dry-run to inspect without writing:
adsfolio cv generate --config cv.yaml --dry-run
Override output path:
adsfolio cv generate --config cv.yaml --output out/publications.tex
Switch renderer at runtime:
adsfolio cv generate --config cv.yaml --format markdown --style detailed --output out/publications.md
Override author format at runtime:
adsfolio cv generate --config cv.yaml --author-format 'ads_custom:%3.2l'
5) Compare styles
Preview style signatures:
adsfolio cv show-styles
Style intent:
compact: two-line compact item optimized for dense CV lists.detailed: fuller line layout with explicit ADS link line.bibcode-first: item label format centered on the bibcode.
6) Output behavior
adsfolio cv generate:
runs a single ADS query using your configured
author.queryplusexclude_bibstemsclassifies documents into first-authored vs co-authored groups
renders either LaTeX or Markdown
writes one output file (unless you set
--dry-run)
For LaTeX output with journal_legend: true, adsfolio cv generate appends a bibstem-to-journal legend at the end.
Next
Return to Tutorial 5: Operations and troubleshooting for general CLI debugging patterns.