Line Breaks in Text Sections formatted with Local Layouts
Stefan A. <stefan.a <at> portblue.net>
2013-05-21 18:21:18 GMT
Hi guys, I've been working with LyX and XeTeX recently to set up a
document which allows me to switch between various East Asian languages
using Text Styles. Although the Text Styles I have defined in Document
Properties -> Local Layouts work well for single words or phrases, I
haven't found a way to enter line breaks in sections defined for a
certain language, and I was hoping someone here may have a suggestion on
how to achieve this. I can copy and paste text containing line breaks
from other sources and I can force line breaks using CTRL + Enter, but I
was hoping for a more elegant solution that does not involve too much
ERT. Any thoughts?
Full disclosure: I posted this question on latex-community.org a week
ago, but haven't received a reply, which is why I figured I'd give this
mailing list a try. The post also contains a sample file demonstrating
my setup:
http://latex-community.org/forum/viewtopic.php?uid=56715&f=48&t=23239&start=0
System information:
$ uname -a
Linux thinkpad 3.2.0-43-generic #68-Ubuntu SMP Wed May 15 03:33:33 UTC
2013 x86_64 x86_64 x86_64 GNU/Linux
$ lyx -version
LyX 2.0.6 (2013-04-29)
Built on May 9 2013, 18:14:02
Configuration
Host type: x86_64-pc-linux-gnu
Special build flags: build=release warnings use-aspell
use-enchant use-hunspell
C Compiler: gcc
C Compiler LyX flags:
C Compiler flags: -D_FORTIFY_SOURCE=2 -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
C++ Compiler: g++ (4.6)
C++ Compiler LyX flags:
C++ Compiler flags: -D_FORTIFY_SOURCE=2 -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
Linker flags:
Linker user flags: -Wl,-Bsymbolic-functions -Wl,-z,relro
-Wl,-z,defs -Wl,--as-needed -Wl,-z,defs -Wl,--as-needed
Qt 4 Frontend:
Qt 4 version: 4.8.1
Packaging: posix
LyX binary dir: /usr/bin
LyX files dir: /usr/share/lyx