Punctuation Spacing
Punctuation spacing controls whether a space is required, forbidden, or non-breaking before and after a punctuation mark.
PUNC_SPACE_BEFOREPUNC_SPACE_AFTERREPEATED_PUNCTDefinition
A space that is wrong in English can be required in French. Decimal marks, URLs, email addresses, abbreviations, initials, filenames, and code also create valid punctuation sequences that simple searches misclassify.
BAD vs GOOD
Ready ? Yes,it is.
Ready? Yes, it is.
Why it matters
Correct spacing preserves reading rhythm, prevents stranded punctuation, and communicates locale quality.
Rule strength
Locale-dependent convention. This is not an absolute linguistic law; locale, genre, content, and house style can change the correct decision.
Exceptions and editorial considerations
- French and some regional conventions use spaces that English does not.
- Numeric punctuation, technical strings, and code require contextual guards.
- Repeated punctuation can be intentional in informal or expressive copy.
How to fix it manually
- Resolve the paragraph locale first.
- Inspect the character on both sides of the mark.
- Use non-breaking spacing when punctuation must stay attached.
- Proof line breaks after correction.
Adobe InDesign guidance
Use GREP styles or Find/Change only with locale-aware scope and exclusions for numbers, URLs, email, and code-like content.
How Avellio detects it
Avellio emits PUNC_SPACE_BEFORE, PUNC_SPACE_AFTER, and REPEATED_PUNCT with locale and context guards.
Clear Western-prose space-before cases may enter Safe Clean; a precise missing after-space may enter Review Queue; French and ambiguous contexts are guarded.
Language and locale differences
FRAvellio’s France profile deliberately uses U+202F NNBSP before : ; ! ? and inside guillemets as one consistent detection model. External French guidance can distinguish U+00A0 NBSP before a colon from U+202F before ; ! ?; treat a documented publisher policy as authoritative when it differs.
FR CHFR CASwiss and Canadian French spacing can differ from France and by publisher. Do not apply the FR profile’s single NNBSP model as a universal regional rule.
EN USEN UKDEESOrdinary prose normally has no space before sentence punctuation; exact quotation punctuation remains style-dependent.
Authoritative references
- Avellio User Manual — Locale profile referenceAvellio product source
- Avellio User Manual — The Action LayerAvellio product source
- W3C — French punctuation spacingInternationalization reference
- W3C Internationalization — Quote marksInternationalization reference
- Unicode Standard Annex #14 — Unicode Line Breaking AlgorithmUnicode standard
Avellio references document product behavior. External standards and authorities support the general or locale-specific typographic guidance. Where traditions disagree, this page states the disagreement instead of manufacturing one universal rule.