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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Automatic Insertion of unbreakable Space after Guillemets
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!
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
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. […]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Automatic Insertion of unbreakable Space after Guillemet
- 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#
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10