Skip to content

Uniocode U+2060 WORD JOINER should result in \nolinebreak in latex output #11505

@nichtich

Description

@nichtich

Describe your proposed improvement and the problem it solves.

U+2060 WORD JOINER is passed through from Markdown to LaTeX output. Tex engines treat this character as zero-width space so line breaks are allowed.

I encountered the problem with input long text spanning a line followed by -text and line was wrapped between -and text. Adding U+2060 between - and text was ignored.

Describe alternatives you've considered.

a) Custom lua filter or that searches for U+2060, split strings and inserts pandoc.RawInline("latex","\\nolinebreak").
b) Adding some LaTeX commands to handle U+2060 (this depends on the LaTeX engine)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions