#234 Always convert "--" to - in FO output

XSL (399)

Currently, the fo/passivetex.xsl file in the XSL distro
causes all the "--" (double-dash) to be converted to

That fix was added to work around some behavior in TeX
that causes "--" to be interpreted as an instruction of
some kind. Or something.

Anyway, considering it now, I can't think of any
circumstances in which someone might want a line break
to occur between the dashes in "--". Can anybody else
think of any? It seems like most authors would expect
for the "--" string to be treated as a unit; that is,
always kept together.

So if we can agree that is accurate, I propose we make
a change such that the string "--" is always converted
to -- in FO output, regardless of what FO
engine that output is destined for.

The full Unicode name of xFEFF is "ZERO WIDTH NO-BREAK
SPACE" while x200B is just "ZERO WIDTH SPACE"


  • Michael(tm) Smith

    • summary: Always convert "--" to - in FO output --> Always convert "--" to - in FO output
  • Michael(tm) Smith

    Logged In: YES

  • Michael(tm) Smith

    • status: open --> closed-wont-fix

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks