Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open guillemet does not inhibit a line break #143

Closed
eg9 opened this issue Apr 30, 2016 · 2 comments
Closed

Open guillemet does not inhibit a line break #143

eg9 opened this issue Apr 30, 2016 · 2 comments

Comments

@eg9
Copy link
Contributor

eg9 commented Apr 30, 2016

The following example (source http://tex.stackexchange.com/questions/307174/xelatex-french-guillemets-non-breaking-space-best-practice)

\documentclass[12pt]{article}
\usepackage[paperwidth=14cm,paperheight=20.5cm]{geometry}
\usepackage{libertine}% use this font and geometry width to reproduce bad break
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainlanguage{french}

\begin{document}

%\makeatletter
%\XeTeXinterchartoks \french@punctguillstart 255 = {\nobreakspace\xpg@nospace}
%\makeatother

Je n'ai rien à dire --- mais je le dis bien : je suis un « beau parleur ».

\end{document}

produces a line break after the open guillemet. If I uncomment the three lines, the output is correct.

The corresponding line (number 52) in gloss-french.ldf is commented out.

@reutenauer
Copy link
Owner

Many thanks Enrico, I’ll deal with that together with the other recent bugs opened for French.

@jspitz
Copy link
Collaborator

jspitz commented Aug 22, 2019

This is fixed meanwhile (at 5bb76bb, but also already before, apparently).

Ticket can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants