No, wait, you're telling me such a sofisticated language as LaTeX does not provide for case-based if-then alternatives. Hell, even QuickBasic does!localghost wrote:Too bad. So I see no other solution than manual intervention.
Text Formatting ⇒ Automatic Insertion of unbreakable Space after Guillemets
Automatic Insertion of unbreakable Space after Guillemets
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Automatic Insertion of unbreakable Space after Guillemets
I only said that I am not aware of such a solution. And at the moment I have not the slightest idea of an approach. Do you have the same problem when using PDFLaTeX with babel?
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Automatic Insertion of unbreakable Space after Guillemets
Of course not, but I desperately need polyglossia because babel is not Unicode-compatible.localghost wrote:I only said that I am not aware of such a solution. And at the moment I have not the slightest idea of an approach. Do you have the same problem when using PDFLaTeX with babel?
Again, aren't there if-based structures in LaTeX. Like if
\fg
is followed by colon/semicolon/int. mark/excl. mark, then add an unbreakable space after \fg
. Too beautiful to be true? I hope not!- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Automatic Insertion of unbreakable Space after Guillemets
I think it would need to go down to low level LaTeX or even TeX itself. And my knowledge of TeX is still very limited.AleCes wrote:[…] Again, aren't there if-based structures in LaTeX. Like if\fg
is followed by colon/semicolon/int. mark/excl. mark, then add an unbreakable space after\fg
. Too beautiful to be true? I hope not!
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Automatic Insertion of unbreakable Space after Guillemets
So, you're suggesting I should ask for guidance in the LaTeX newsletter?localghost wrote:I think it would need to go down to low level LaTeX or even TeX itself. And my knowledge of TeX is still very limited.AleCes wrote:[…] Again, aren't there if-based structures in LaTeX. Like if\fg
is followed by colon/semicolon/int. mark/excl. mark, then add an unbreakable space after\fg
. Too beautiful to be true? I hope not!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Automatic Insertion of unbreakable Space after Guillemets
You could ask for help on comp.text.tex (ctt).
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Automatic Insertion of unbreakable Space after Guillemets
Done it here: http://groups.google.com/group/comp.tex ... 6247e6187#localghost wrote:You could ask for help on comp.text.tex (ctt).
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Automatic Insertion of unbreakable Space after Guillemets
Just to take this up here again. Where exactly are the problems with babel and Unicode?AleCes wrote:[…] I desperately need polyglossia because babel is not Unicode-compatible. […]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Automatic Insertion of unbreakable Space after Guillemet
That polytonic greek is a mess with babel, so I'm stuck with polyglossia.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Automatic Insertion of unbreakable Space after Guillemets
The proposed solution works fine for me (independent of the used font).AleCes wrote:Done it here: http://groups.google.com/group/comp.tex ... 6247e6187#
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10