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

closed-wont-fix
XSL (399)
5
2006-04-13
2004-11-22
No

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

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"

Discussion

  • Michael(tm) Smith

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

    Logged In: YES
    user_id=118135

     
  • 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