Re: How can I "protect" Japanese names / words?
On 2013-07-19, Scott Kostyshak wrote: > On Fri, Jul 19, 2013 at 5:02 PM, Jessy wrote: >> Hello all, >> I'm currently writing my thesis in Japanese studies using LyX 2.0.6 on OS X >> 10.6.8. The document class of my choice is koma-script book. >> While my thesis is mainly written in my native German, there are some >> Japanese names, terms, and place names given in the text. What's pretty >> annoying is that there sometimes are line breaks inside a name, e.g. the >> last character only is placed in a new line. >> Is there a way to prevent LyX from doing this? I've tried to achieve it by >> preventing hyphenation, but that just makes everything look terrible and >> still breaks the Japanese words in between - seems they're not actually >> recognized as words. >> Is there some quick and easy solution for this? There's a bunch of Japanese >> words in my text and so far, a great amount of them is split that way, which >> really doesn't look too good. >> Thank you very much in advance for any advice you could possibly have. > Hi Jessica, > I think you are running into this bug: > http://www.lyx.org/trac/ticket/4635 > There is a LyX user that is trying to fix this (but no current > solution exists, as far as I know) here: > http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg177986.html One problem is, that Japanese is usually written without whitespace between the words. Maybe therefore LyX/XeTeX allow linewraps everywhere. The usual (La)TeX way of preventing wraps in a word (or other text part) is, to put it in an \mbox: Pleas do not wrap the line in \mbox{Donaudampfschifffahrtsgesellschaft}. This could be done via raw LaTeX (ERT) or an inset. If there are many cases where this is required, you may save time by editing the source file with a text editor. Günter
Re: How can I "protect" Japanese names / words?
It happens in the PDF output (via XeTeX). Jessica Am 20.07.2013 um 00:28 schrieb Jean-Marc Lasgouttes: > Le 19/07/2013 23:02, Jessy a écrit : >> Hello all, >> >> I'm currently writing my thesis in Japanese studies using LyX 2.0.6 >> on OS X 10.6.8. The document class of my choice is koma-script book. >> >> While my thesis is mainly written in my native German, there are some >> Japanese names, terms, and place names given in the text. What's >> pretty annoying is that there sometimes are line breaks inside a >> name, e.g. the last character only is placed in a new line. Is there >> a way to prevent LyX from doing this? I've tried to achieve it by >> preventing hyphenation, but that just makes everything look terrible >> and still breaks the Japanese words in between - seems they're not >> actually recognized as words. > > Is this problem on screen or in the resulting PDF? > > JMarc
Re: How can I "protect" Japanese names / words?
Le 19/07/2013 23:02, Jessy a écrit : Hello all, I'm currently writing my thesis in Japanese studies using LyX 2.0.6 on OS X 10.6.8. The document class of my choice is koma-script book. While my thesis is mainly written in my native German, there are some Japanese names, terms, and place names given in the text. What's pretty annoying is that there sometimes are line breaks inside a name, e.g. the last character only is placed in a new line. Is there a way to prevent LyX from doing this? I've tried to achieve it by preventing hyphenation, but that just makes everything look terrible and still breaks the Japanese words in between - seems they're not actually recognized as words. Is this problem on screen or in the resulting PDF? JMarc
Re: How can I "protect" Japanese names / words?
On Fri, Jul 19, 2013 at 5:02 PM, Jessy wrote: > Hello all, > > I'm currently writing my thesis in Japanese studies using LyX 2.0.6 on OS X > 10.6.8. The document class of my choice is koma-script book. > > While my thesis is mainly written in my native German, there are some > Japanese names, terms, and place names given in the text. What's pretty > annoying is that there sometimes are line breaks inside a name, e.g. the last > character only is placed in a new line. > Is there a way to prevent LyX from doing this? I've tried to achieve it by > preventing hyphenation, but that just makes everything look terrible and > still breaks the Japanese words in between - seems they're not actually > recognized as words. > > Is there some quick and easy solution for this? There's a bunch of Japanese > words in my text and so far, a great amount of them is split that way, which > really doesn't look too good. > > Thank you very much in advance for any advice you could possibly have. Hi Jessica, I think you are running into this bug: http://www.lyx.org/trac/ticket/4635 There is a LyX user that is trying to fix this (but no current solution exists, as far as I know) here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg177986.html Scott
How can I "protect" Japanese names / words?
Hello all, I'm currently writing my thesis in Japanese studies using LyX 2.0.6 on OS X 10.6.8. The document class of my choice is koma-script book. While my thesis is mainly written in my native German, there are some Japanese names, terms, and place names given in the text. What's pretty annoying is that there sometimes are line breaks inside a name, e.g. the last character only is placed in a new line. Is there a way to prevent LyX from doing this? I've tried to achieve it by preventing hyphenation, but that just makes everything look terrible and still breaks the Japanese words in between - seems they're not actually recognized as words. Is there some quick and easy solution for this? There's a bunch of Japanese words in my text and so far, a great amount of them is split that way, which really doesn't look too good. Thank you very much in advance for any advice you could possibly have. Jessica