Export documents

Choose a file format, apply a journal style, keep citations live in Word, and install what Quarto exports need.

8 min readWriting

Export

The Export button in the status bar, or Alt+E, opens a dialog with two independent choices: the file format (PDF, Word, HTML) and the journal style. An Engine line says what will do the work, and Output shows where the file will land.

Format Engine Notes
PDF Flux’s in-app renderer for house style. Quarto and TeX for journal styles. Figures, captions, panel references and the bibliography are resolved during export.
HTML Flux’s in-app renderer Embedded slides keep their playback.
Word Quarto Needs Quarto; the dialog offers Install Quarto… when it is missing (no admin rights needed). Journal styles and Live Zotero citations are available here.

The dialog previews the selected journal style’s citation form, figure call-outs and typography. Check the destination and engine along the bottom, then press Enter to export. A receipt above the status bar follows saving, preparation, rendering and finishing. Cancel is available while the active stage permits it. Open or Reveal takes you to the completed file. On failure, use Details to read or copy the engine log.

Journal styles

Choose a Style and check the Engine line before exporting. Flux house style supports PDF, HTML and Word. The submission styles below export to Word or PDF through Quarto. A submission PDF also needs the PDF dependencies.

Submission style What Flux formats
Nature Title page, summary paragraph, superscript citations before punctuation, compact panel references such as Fig. 1a,b, and Methods after the references with its own numbered reference list.
Nature Communications Nature portfolio formatting, spaced panel references such as Fig. 1a, b, a Results heading when present, and one reference list.
Science Labelled abstract and one-sentence summary, italic numbered citations, panel references such as Fig. 1, A and B, and a References and Notes section.
Cell Lead-contact title page, Summary and Keywords, Cell’s citations and figure call-outs, STAR Methods and Resource Availability sections.
bioRxiv preprint Title page, abstract, line numbering, and figures beside their legends at initial submission. The document’s citation style carries over.

In Stage, select Initial submission to include figures beside their legends at 300 dpi. Select Revision files to export the manuscript text with legends in the journal’s order, ready to send alongside separate figure files. The title page reads author, affiliation and role fields from Document properties.

The export summary shows what Flux formatted, requirements that still need attention and submission items to prepare separately. Flux saves that summary as <name>.submission.md beside the export. Journal requirements such as word limits produce warnings and the manuscript remains editable in its original format. Flux remembers the export style per project. Use flux compile --to pdf --style nature to select the Nature style from a terminal.

Reference styles in Word

With Flux house style selected, the References menu offers Pandoc default (Chicago author–date), the shipped Nature, Science and Cell CSL styles, or Load .csl file…. Flux records the setting in the document’s csl: front matter. House-style Word uses the CSL for citations and the reference list. In-app house-style PDF and HTML continue to use Flux’s own reference formatter.

The three shipped styles come from the Citation Style Language project through the Zotero Style Repository, under CC BY-SA 3.0. Each file names its authors, and Flux copies it into your project unchanged. The journal presets follow each journal’s public author guidelines; Flux is not affiliated with or endorsed by those journals.

Live Zotero citations in Word

With Word selected, tick Live Zotero citations and the citations arrive in the .docx as real Zotero fields rather than plain text, so whoever opens the file in Word can refresh them, change the citation style, renumber after an edit, and add their own citations beside yours. Leave it unticked and the citations are ordinary text, which is fine for a file nobody will edit.

Each live citation travels with its full reference details, so it works on any machine, even one that has never seen your library. If a co-author already sent you Word files written with Zotero, Link to library from… takes those files and matches your citations against the works in them; the ones they already have arrive attached to their own library entries instead of as separate copies, and the dialog says how many matched. Anything unmatched still works; it simply is not linked to anything.

One boundary: a citation inside a footnote stays ordinary text rather than becoming a live field — the export tells you when that happened. Citations in the body, in figure captions and in the reference list are all live. From the terminal the same options are flux compile --to docx --zotero-fields [--zotero-library a.docx,b.docx]. Syncing your library from Zotero is a separate feature; see Zotero.

Journal Check

Alt+J opens Journal Check, which reads your manuscript against the selected journal’s rulebook: title and summary-paragraph length, headings the journal doesn’t print (Nature uses neither “Introduction” nor “Results”), missing sections like Data availability, word budgets, display-item and reference caps, and typed-out figure references that don’t match house style. Click any item to jump to it.

It is advice, and never blocks an export — Nature itself says style and length won’t influence consideration at first submission. Switch the panel to Accepted / final and the sections a journal requires at acceptance become warnings rather than notes.

One deliberate limit: Flux formats references it owns — the ones you insert as figure references — and only points at figure references you typed by hand. It cannot tell your “Figure 2, panel D” from a mention of someone else’s Figure 2D, so it never rewrites your prose.

PDF dependencies

Flux’s house-style PDF export uses the bundled renderer. Word, journal-style PDF and flux compile use Quarto. Quarto includes Pandoc, and its PDF engine also needs TeX. A journal-style PDF from the app and a PDF from flux compile --to pdf share those dependencies.

Set up Flux (Settings → General → Setup, or Ctrl+K → Set up Flux…) installs both: Quarto into ~/FluxConfig, and TinyTeX through Quarto in your home folder. A Quarto you installed yourself — on your PATH or in its usual install folder — always wins over Flux’s copy, and quarto install tinytex adds TeX to it. Nothing here needs admin rights.

TinyTeX is not added to your PATH. It installs into ~/Library/TinyTeX (macOS) or ~/.TinyTeX (Linux). Flux and Quarto find it anyway, so exports work without any shell change, but TeX’s own commands (tlmgr, kpsewhich, used below) need it on your PATH:

# macOS — add to ~/.zshrc to make it permanent
export PATH="$HOME/Library/TinyTeX/bin/universal-darwin:$PATH"
# Linux — add to ~/.bashrc
export PATH="$HOME/.TinyTeX/bin/x86_64-linux:$PATH"

Extras for a journal-styled PDF

flux compile --to pdf --style nature asks LaTeX for things a minimal install may not have: line numbers, double spacing, a Times-compatible font, and a way to place Flux’s SVG figures in a PDF. How you add them depends on how TeX got onto the machine:

TeX install Command Needs admin?
TinyTeX (the setup window, or quarto install tinytex) tlmgr install lineno setspace No — TinyTeX lives in your home directory
MacTeX sudo tlmgr install lineno setspace Yes
Linux distro TeX Live (apt) sudo apt install texlive-latex-recommended texlive-humanities texlive-luatex texlive-fonts-recommended Yes — Debian and Ubuntu disable tlmgr package installs

Figures also need rsvg-convert (librsvg2-bin on Debian and Ubuntu, librsvg on Homebrew and Arch): Flux renders figures as SVG, and LaTeX cannot place those directly.

Check what you have (both commands need TinyTeX on your PATH, see above):

kpsewhich lineno.sty setspace.sty   # both should print a path
rsvg-convert --version              # needed for figures in PDF
quarto check                        # quarto + tinytex, if you export papers

None of this affects Word: a journal-styled .docx needs no TeX at all. When an export does hit a missing piece, Flux names the package to install instead of showing you the raw LaTeX log.

Troubleshooting

Symptom Cause → fix
With Word selected, Export is disabled and the dialog says Word export needs Quarto Quarto isn’t installed → Install Quarto… in the dialog, or Set up Flux → Word export · Quarto
HTML is disabled after choosing a journal style Use Word or PDF with that style, or select Flux house style for HTML.
flux compile --to pdf fails; HTML works No TeX → Set up Flux → PDF through Quarto, or quarto install tinytex
A journal PDF fails with File 'lineno.sty' not found (or setspace.sty) Minimal TeX install → the table above
A journal PDF fails mentioning rsvg-convert SVG figures cannot be placed → install librsvg2-bin / librsvg
A journal PDF fails with luaotfload or not loadable: Metric lualatex is present but its fonts are not → texlive-luatex + texlive-fonts-recommended, or use TinyTeX
kpsewhich or tlmgr: command not found, yet exports work TinyTeX is not on your PATH → add the line above; Flux and Quarto never needed it
A Word export says figures will be missing No render could be produced for the named figures → open Figure so they load, then export again
A citation came out as plain text in a Zotero export It sits in a footnote, which stays ordinary text → move it into the body if it must be live
Journal Check flags something you disagree with It is advice and never blocks an export → dismiss it

Search the docs

Search guides, workspaces, and reference topics.

↑ ↓ to move · Enter to open · Esc to close