Am Sun, 7 Dec 2014 18:34:53 -0500 schrieb Mike Maxwell:
> Using a Unicode non-breaking hyphen (U+2011) appears to prevent
> the line break when I try this with a different font.
> Unfortunately, the font I need to use doesn't have a glyph for
> this code point, so I get a box in the PDF. (Is the
Am Mon, 8 Dec 2014 09:18:39 + schrieb David Carlisle:
> I was going to say that the \XeTeXdashbreakstate =0 suggestion looked
> cleaner except
> when I tried it on your test file it didn't work??
Imho \XeTeXdashbreakstate affects endash and emdash, not normal
hyphens.
--
Ulrike Fischer
h
On 7/12/14 23:34, Mike Maxwell wrote:
Using a Unicode non-breaking hyphen (U+2011) appears to prevent the line
break when I try this with a different font. Unfortunately, the font I
need to use doesn't have a glyph for this code point, so I get a box in
the PDF. (Is there a way to use the ASCII
Mike Maxwell wrote:
Another thing I've tried is to set the \exhyphenpenalty to 1. This
works if I do it in the preamble, but I don't really want it to have
scope over the entire document. But if I put that command inside a
{...} together with the dash+word, it has no effect.
The setti
On 8 December 2014 at 04:18, Mike Maxwell wrote:
> On 12/7/2014 7:14 PM, David Carlisle wrote:
>>
>> If adding markup rather than a general setting is acceptable you can use
>>
>> \mbox{-}abcd
>
>
> I see that this works--I had not expected it to, so I didn't even try. What
> I did try was
>\
h to which it applies.
Best
John
-Original Message-
From: Mike Maxwell
Sent: Sunday, December 07, 2014 11:34 PM
To: Unicode-based TeX for Mac OS X and other platforms
Subject: [XeTeX] avoiding line break after dash
I have a document that has word-initial dashes (they indicate that
On 12/7/2014 7:14 PM, David Carlisle wrote:
If adding markup rather than a general setting is acceptable you can use
\mbox{-}abcd
I see that this works--I had not expected it to, so I didn't even try. What I
did try was
\mbox{-abcd}
which certainly worked, but had other drawbacks for my
On 7 December 2014 at 23:34, Mike Maxwell wrote:
> I have a document that has word-initial dashes (they indicate that the
> "word" is a suffix). When the paragraph they're in is just right, xelatex
> insists on inserting an unwanted line break immediately after the dash.
> I've tried lots of thin
I have a document that has word-initial dashes (they indicate that the "word" is
a suffix). When the paragraph they're in is just right, xelatex insists on
inserting an unwanted line break immediately after the dash. I've tried lots of
things to prevent this: setting the lccode for dash to zer