On Sat, Apr 6, 2013 at 3:33 PM, Kornel Benko <kor...@lyx.org> wrote:
> Am Freitag, 5. April 2013 um 19:43:28, schrieb Guenter Milde
> <mi...@users.sf.net>
>
>> On 2013-04-05, Scott Kostyshak wrote:
>
>>
>
>> > I cannot compile sk/Intro.lyx with LuaTeX. With the attached patch, I
>
>> > can compile. I do not think that the patch is correct (I'm guessing
>
>> > there's an underlying problem), but hopefully it leads someone to the
>
>> > correct fix.
>
>>
>
>> ...
>
>>
>
>> > \begin_layout Section
>
>> > -Vítajte v LyX\SpecialChar \nobreakdash-
>
>> > -e!
>
>> > +Vítajte v LyX-e!
>
>>
>
>> in lib/unicodesymbols, we have the translation
>
>>
>
>> 0x2011 "\\nobreakdash-\hspace{0pt}" "amsmath" "" "" "" # NON-BREAKING
>> HYPHEN (0pt space to allow normal hyphenation in the following word.)
>
>>
>
>> so, how about using a literal NON-BREAKING HYPHEN?
>
>>
>
>> Günter
>
>
>
> Sure, it would be better. But in this special case, this would have no
> effect.
>
>
>
> LyX is resolved as "\protect\LyX{}" and on the following '-' it always can
> break.
>
>
>
> What I wanted to omit here is
>
> "........LyX-"
>
> "e..........".
>
>
>
> Kornel

I should have noted in this thread that Kornel just committed a fix
for this in trunk.

Scott

Reply via email to