1*b1cdbd2cSJim Jagielski<?xml version="1.0" encoding="UTF-8"?>
2*b1cdbd2cSJim Jagielski<helpdocument version="1.0">
3*b1cdbd2cSJim Jagielski
4*b1cdbd2cSJim Jagielski<!--***********************************************************
5*b1cdbd2cSJim Jagielski *
6*b1cdbd2cSJim Jagielski * Licensed to the Apache Software Foundation (ASF) under one
7*b1cdbd2cSJim Jagielski * or more contributor license agreements.  See the NOTICE file
8*b1cdbd2cSJim Jagielski * distributed with this work for additional information
9*b1cdbd2cSJim Jagielski * regarding copyright ownership.  The ASF licenses this file
10*b1cdbd2cSJim Jagielski * to you under the Apache License, Version 2.0 (the
11*b1cdbd2cSJim Jagielski * "License"); you may not use this file except in compliance
12*b1cdbd2cSJim Jagielski * with the License.  You may obtain a copy of the License at
13*b1cdbd2cSJim Jagielski *
14*b1cdbd2cSJim Jagielski *   http://www.apache.org/licenses/LICENSE-2.0
15*b1cdbd2cSJim Jagielski *
16*b1cdbd2cSJim Jagielski * Unless required by applicable law or agreed to in writing,
17*b1cdbd2cSJim Jagielski * software distributed under the License is distributed on an
18*b1cdbd2cSJim Jagielski * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*b1cdbd2cSJim Jagielski * KIND, either express or implied.  See the License for the
20*b1cdbd2cSJim Jagielski * specific language governing permissions and limitations
21*b1cdbd2cSJim Jagielski * under the License.
22*b1cdbd2cSJim Jagielski *
23*b1cdbd2cSJim Jagielski ***********************************************************-->
24*b1cdbd2cSJim Jagielski
25*b1cdbd2cSJim Jagielski
26*b1cdbd2cSJim Jagielski
27*b1cdbd2cSJim Jagielski
28*b1cdbd2cSJim Jagielski<meta>
29*b1cdbd2cSJim Jagielski      <topic id="textswriterguidehyphen_preventxhp" indexer="include" status="PUBLISH">
30*b1cdbd2cSJim Jagielski         <title xml-lang="en-US" id="tit">Preventing Hyphenation of Specific Words</title>
31*b1cdbd2cSJim Jagielski         <filename>/text/swriter/guide/hyphen_prevent.xhp</filename>
32*b1cdbd2cSJim Jagielski      </topic>
33*b1cdbd2cSJim Jagielski   </meta>
34*b1cdbd2cSJim Jagielski   <body>
35*b1cdbd2cSJim Jagielski<bookmark xml-lang="en-US" branch="index" id="bm_id3149695"><bookmark_value>hyphenation;preventing for specific words</bookmark_value>
36*b1cdbd2cSJim Jagielski      <bookmark_value>words;wrapping/not wrapping in text</bookmark_value>
37*b1cdbd2cSJim Jagielski      <bookmark_value>switching off;hyphenation for specific words</bookmark_value>
38*b1cdbd2cSJim Jagielski</bookmark><comment>mw copied 2 entries from using_hyphen.xhp and added a new entry</comment>
39*b1cdbd2cSJim Jagielski<paragraph xml-lang="en-US" id="hd_id3149695" role="heading" level="1" l10n="U"
40*b1cdbd2cSJim Jagielski                 oldref="20"><variable id="hyphen_prevent"><link href="text/swriter/guide/hyphen_prevent.xhp" name="Preventing Hyphenation of Specific Words">Preventing Hyphenation of Specific Words</link>
41*b1cdbd2cSJim Jagielski</variable></paragraph><comment>MW created this guide from splitting using_hyphen.xhp</comment>
42*b1cdbd2cSJim Jagielski<paragraph xml-lang="en-US" id="par_id5640125" role="paragraph" l10n="NEW">If your text is <link href="text/swriter/guide/using_hyphen.xhp">automatically hyphenated</link> and certain hyphenated words look ugly, or if you want specific words never to be hyphenated you can switch off hyphenation for those words:</paragraph>
43*b1cdbd2cSJim Jagielski      <list type="ordered">
44*b1cdbd2cSJim Jagielski         <listitem>
45*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3153634" role="listitem" l10n="U" oldref="40">Choose <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language Settings - Writing Aids</emph>
46*b1cdbd2cSJim Jagielski            </paragraph>
47*b1cdbd2cSJim Jagielski         </listitem>
48*b1cdbd2cSJim Jagielski         <listitem>
49*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3153658" role="listitem" l10n="U" oldref="41">Select a dictionary in the <emph>User-defined dictionary </emph>list, and then click <emph>Edit</emph>.</paragraph>
50*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3147125" role="listitem" l10n="U" oldref="43">If the list is empty, click <emph>New</emph> to create a dictionary.</paragraph>
51*b1cdbd2cSJim Jagielski         </listitem>
52*b1cdbd2cSJim Jagielski         <listitem>
53*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3150218" role="listitem" l10n="U" oldref="42">In the<emph> Word</emph> box, type the word you want to exclude from hyphenation, followed by an equal sign (=), for example, "pretentious=".</paragraph>
54*b1cdbd2cSJim Jagielski         </listitem>
55*b1cdbd2cSJim Jagielski         <listitem>
56*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id3150247" role="listitem" l10n="U" oldref="65">Click <emph>New</emph>, and then click <emph>Close</emph>.</paragraph>
57*b1cdbd2cSJim Jagielski         </listitem>
58*b1cdbd2cSJim Jagielski      </list>
59*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id3147036" role="tip" l10n="U" oldref="29">To quickly exclude a word from hyphenation, select the word, choose <emph>Format - Character</emph>, click the <emph>Font </emph>tab, and select "None" in the <emph>Language </emph>box.</paragraph>
60*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id0302200910262761" role="paragraph" l10n="NEW">Some words contain special characters that %PRODUCTNAME treats as a hyphen. If you do not want such words to be hyphenated, you can insert a special code that prevents hyphenation at the position where the special code is inserted. Proceed as follows:</paragraph>
61*b1cdbd2cSJim Jagielski      <list type="ordered">
62*b1cdbd2cSJim Jagielski         <listitem>
63*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id0302200910262850" role="paragraph" l10n="NEW">Enable the special features of complex text layout (CTL) languages: Choose <item type="menuitem"><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - Language Settings - Languages</item> and check <emph>Enabled for complex text layout (CTL)</emph>. Click OK.</paragraph>
64*b1cdbd2cSJim Jagielski         </listitem>
65*b1cdbd2cSJim Jagielski         <listitem>
66*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id0302200910262837" role="paragraph" l10n="NEW">Position the cursor at the place where no hyphenation should occur.</paragraph>
67*b1cdbd2cSJim Jagielski         </listitem>
68*b1cdbd2cSJim Jagielski         <listitem>
69*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id0302200910262867" role="paragraph" l10n="NEW">Choose <item type="menuitem">Insert - Formatting Mark - No-width no break</item>.</paragraph>
70*b1cdbd2cSJim Jagielski            <paragraph xml-lang="en-US" id="par_id0302200910572128" role="paragraph" l10n="NEW">Once the special character is inserted, you might disable CTL again. Support of CTL was only necessary to insert the special character.</paragraph>
71*b1cdbd2cSJim Jagielski         </listitem>
72*b1cdbd2cSJim Jagielski      </list>
73*b1cdbd2cSJim Jagielski      <embed href="text/shared/00/00000004.xhp#related"/>
74*b1cdbd2cSJim Jagielski      <embed href="text/swriter/guide/using_hyphen.xhp#using_hyphen"/>
75*b1cdbd2cSJim Jagielski      <paragraph xml-lang="en-US" id="par_id3154361" role="paragraph" l10n="U" oldref="46"><link href="text/swriter/01/05030200.xhp" name="Text Flow">Text Flow</link></paragraph>
76*b1cdbd2cSJim Jagielski   </body>
77*b1cdbd2cSJim Jagielski</helpdocument>
78